mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
13 lines
147 B
Bash
Executable File
13 lines
147 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PIDFILE=/tmp/doorlockd-pid
|
|
|
|
if [ -f $PIDFILE ]
|
|
then
|
|
kill `cat $PIDFILE`
|
|
rm $PIDFILE
|
|
else
|
|
echo "PID file not existent"
|
|
fi
|
|
|