remove pidfile when stopping server

This commit is contained in:
Renè Thümmler 2019-09-08 00:25:39 +02:00
parent 8722786e8e
commit 638cd4b407

View File

@ -67,6 +67,7 @@ isso_stop()
local pid=$(cat $pidfile) local pid=$(cat $pidfile)
echo "stopping isso (pid=$pid)" echo "stopping isso (pid=$pid)"
kill -- -$pid kill -- -$pid
rm -f ${pidfile}
else else
echo "isso is not running" echo "isso is not running"
fi fi