1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-17 04:29:11 +01:00
doorlockd-mirror/scripts/doorlockd-stop

13 lines
147 B
Plaintext
Raw Normal View History

#!/bin/bash
PIDFILE=/tmp/doorlockd-pid
if [ -f $PIDFILE ]
then
kill `cat $PIDFILE`
rm $PIDFILE
else
echo "PID file not existent"
fi