mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Delete PID file at shutdown
This commit is contained in:
@@ -32,6 +32,11 @@ case "$1" in
|
||||
if [ "$RETVAL" = "0" ]; then
|
||||
rm -f $lockfile
|
||||
fi
|
||||
pidfile=`grep "^pidfile=" $confFile | sed -e 's/pidfile=//g'`
|
||||
if [ "$pidfile" = "" ]; then
|
||||
pidfile=$pidFile
|
||||
fi
|
||||
rm -f $pidfile
|
||||
;;
|
||||
'status')
|
||||
pidfile=`grep "^pidfile=" $confFile | sed -e 's/pidfile=//g'`
|
||||
|
||||
Reference in New Issue
Block a user