From 32baf0039fdb1c6012bc84b8adbf6c117c317836 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 29 Mar 2022 19:37:49 -0700 Subject: [PATCH] daemon-reload is needed before init scripts work https://github.com/webmin/webmin/issues/1612 --- makedebian.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/makedebian.pl b/makedebian.pl index c7434b03b..90ddab561 100755 --- a/makedebian.pl +++ b/makedebian.pl @@ -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