mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
dont fail when trying to stop riot and its not running
This commit is contained in:
+5
-2
@@ -2,5 +2,8 @@
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
PIDFILE=riot.pid
|
||||
kill $(cat $PIDFILE)
|
||||
rm $PIDFILE
|
||||
if [ -f $PIDFILE ]; then
|
||||
echo "stopping riot server ..."
|
||||
kill $(cat $PIDFILE)
|
||||
rm $PIDFILE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user