mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Add extra stop call before re-starting, just in case the old version is somehow still running https://www.virtualmin.com/node/54735
This commit is contained in:
@@ -310,6 +310,7 @@ if [ "$inetd" != "1" ]; 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/stop >/dev/null 2>&1 </dev/null
|
||||
/etc/$baseproduct/start >/dev/null 2>&1 </dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -225,6 +225,7 @@ export config_dir var_dir perl autoos port login crypt host ssl nochown autothir
|
||||
chmod 600 \$tempdir/webmin-setup.out
|
||||
rm -f /var/lock/subsys/webmin
|
||||
if [ "\$inetd" != "1" -a "\$startafter" = "1" ]; then
|
||||
/etc/init.d/webmin stop >/dev/null 2>&1 </dev/null
|
||||
/etc/init.d/webmin start >/dev/null 2>&1 </dev/null
|
||||
fi
|
||||
cat >/etc/webmin/uninstall.sh <<EOFF
|
||||
|
||||
Reference in New Issue
Block a user