mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-06 10:58:26 +02:00
Corrected the killing of xkeysnail under sysvinit
This commit is contained in:
@@ -27,7 +27,7 @@ start() {
|
|||||||
# Restart the service
|
# Restart the service
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping Kinto (xkeynsail)" | logger
|
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 ###
|
### Now, delete the lock file ###
|
||||||
rm -f /var/lock/subsys/kinto
|
rm -f /var/lock/subsys/kinto
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user