2014-05-30 03:15:02 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
PIDFILE=kippo.pid
|
|
|
|
|
|
|
|
cd $(dirname $0)
|
|
|
|
|
|
|
|
PID=$(cat $PIDFILE 2>/dev/null)
|
|
|
|
|
|
|
|
if [ -n "$PID" ]; then
|
2014-06-10 16:28:57 +00:00
|
|
|
echo "Stopping kippo...\n"
|
2014-05-30 03:15:02 +00:00
|
|
|
kill -TERM $PID
|
2014-06-10 16:28:57 +00:00
|
|
|
fi
|