mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Force stop before starting, just in case the init system thinks we're already started
This commit is contained in:
@@ -307,6 +307,7 @@ fi
|
||||
rm -f /var/lock/subsys/$baseproduct
|
||||
if [ "$inetd" != "1" ]; then
|
||||
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
||||
invoke-rc.d $baseproduct stop >/dev/null 2>&1 </dev/null
|
||||
invoke-rc.d $baseproduct start >/dev/null 2>&1 </dev/null
|
||||
else
|
||||
/etc/$baseproduct/start >/dev/null 2>&1 </dev/null
|
||||
|
||||
Reference in New Issue
Block a user