fix systemd unit file
This commit is contained in:
@@ -9,7 +9,7 @@ Environment=PYTHONUNBUFFERED=1
|
||||
# add a pause to assure /etc/X11/xinit/xinitrc.d/50-systemd-user.sh to run
|
||||
# this will add DISPLAY and XAUTHORITY env
|
||||
# ExecStartPre=/bin/sleep 5
|
||||
ExecStartPre=/bin/sh -c '(while test ! -v DISPLAY -o ! -v XAUTHORITY; do echo "wait for DISPLAY and XAUTHORITY"; sleep 2; done; ech>
|
||||
ExecStartPre=/bin/sh -c '(while test ! -v DISPLAY -o ! -v XAUTHORITY; do echo "wait for DISPLAY and XAUTHORITY"; sleep 2; done; echo "DISPLAY and XAUTHORITY found");'
|
||||
# allowed time for the start
|
||||
TimeoutStartSec=30
|
||||
ExecStart=/usr/bin/controldeck -D
|
||||
|
||||
Reference in New Issue
Block a user