From eb113125b5a92a248c82b18f86b581e546ee9c5a Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Wed, 5 May 2021 21:11:30 -0500 Subject: [PATCH] Corrected the killing of xkeysnail under sysvinit --- linux/kinto-service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/kinto-service.sh b/linux/kinto-service.sh index 2b87d5c0..e02279c4 100755 --- a/linux/kinto-service.sh +++ b/linux/kinto-service.sh @@ -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