- Proper stop support on caret checking for xkeysnail

This commit is contained in:
Ben Reaves
2020-04-26 18:08:50 -05:00
parent 362c48953e
commit ca153cca93
2 changed files with 9 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ Type=simple
KillMode=process
ExecStartPre=/bin/bash -c "{xhost} +SI:localuser:root && /sbin/runuser -l {username} -c /home/{username}/.config/kinto/prexk.sh"
ExecStart=/usr/bin/sudo /bin/bash -c '{experimental-caret}/home/{username}/.config/kinto/xkeystart.sh /tmp/kinto/kinto.py'
ExecStop=/usr/bin/sudo /usr/bin/killall xkeysnail
ExecStop=/bin/bash -c '/usr/bin/killall xkeysnail;{kill-caret}'
Restart=on-failure
RestartSec=3
Environment=DISPLAY={displayid}