mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
daemon-reload is needed before init scripts work https://github.com/webmin/webmin/issues/1612
This commit is contained in:
@@ -331,6 +331,7 @@ if [ "$product" = "webmin" ]; then
|
||||
fi
|
||||
fi
|
||||
rm -f /var/lock/subsys/$baseproduct
|
||||
systemctl daemon-reload >/dev/null 2>&1
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user