remove pidfile when stopping server
This commit is contained in:
@@ -67,6 +67,7 @@ isso_stop()
|
||||
local pid=$(cat $pidfile)
|
||||
echo "stopping isso (pid=$pid)"
|
||||
kill -- -$pid
|
||||
rm -f ${pidfile}
|
||||
else
|
||||
echo "isso is not running"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user