Corrected the killing of xkeysnail under sysvinit

This commit is contained in:
Ben Reaves
2021-05-05 21:11:30 -05:00
parent c298bd2b5a
commit eb113125b5

View File

@@ -27,7 +27,7 @@ start() {
# Restart the service
stop() {
echo -n "Stopping Kinto (xkeynsail)" | logger
pgrep 'bin\xkeysnail' | xargs -r -n1 sudo kill
sudo pkill -f bin/xkeysnail >/dev/null 2>&1
### Now, delete the lock file ###
rm -f /var/lock/subsys/kinto
echo