mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Add back code to delete PID file on successful exit https://sourceforge.net/p/webadmin/bugs/5471/
This commit is contained in:
@ -38,6 +38,11 @@ stop)
|
||||
RETVAL=$?
|
||||
if [ "$RETVAL" = "0" ]; then
|
||||
rm -f $LOCKFILE
|
||||
pidfile=`grep "^pidfile=" $CONFFILE | sed -e 's/pidfile=//g'`
|
||||
if [ "$pidfile" = "" ]; then
|
||||
pidfile=$PIDFILE
|
||||
fi
|
||||
rm -f $pidfile
|
||||
fi
|
||||
;;
|
||||
status)
|
||||
|
Reference in New Issue
Block a user