Merge branch 'pr/102'

This commit is contained in:
Upi Tamminen 2014-06-10 19:28:21 +03:00
commit 35969b78b7
1 changed files with 12 additions and 0 deletions

12
stop.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
PIDFILE=kippo.pid
cd $(dirname $0)
PID=$(cat $PIDFILE 2>/dev/null)
if [ -n "$PID" ]; then
echo -e "[\e[01;32mi\e[00m] Stopping kippo...\n"
kill -TERM $PID
fi