remove pidfile when stopping server
This commit is contained in:
parent
8722786e8e
commit
638cd4b407
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user