Skip to content

Commit

Permalink
Fix sleep workaround with Xorg
Browse files Browse the repository at this point in the history
I didn't realize gnome-kiosk is actually used even with Xorg, so
the sleep workaround wouldn't actually apply at all. Grepping
for Xorg instead should be bulletproof.
  • Loading branch information
jikortus committed Nov 19, 2024
1 parent a46c950 commit 062cff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/systemd/system/anabot.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ConditionArchitecture=!s390x
# It seems the delay shouldn't be needed with Wayland (and/or with the new version
# of dogtail). If it turns out it's not the case, we should remove the sleep
# from here and implement it it launcher.py.
ExecStartPre=sh -c "ps aux | grep -q gnome-kiosk || sleep 30"
ExecStartPre=sh -c "which Xorg && sleep 30"
ExecStart=/opt/python_launcher.sh /opt/launcher.py anaconda_installer
Environment="ANABOT_MODULES=/opt/anabot-modules"
Environment="ANABOT_CONF=/opt/anabot.ini"
Expand Down

0 comments on commit 062cff6

Please sign in to comment.