mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix to wait for systemd to update configuration
[build]
This commit is contained in:
@ -36,6 +36,7 @@ if ($product) {
|
||||
|
||||
copy_source_dest($temp, "$systemd_root/$product.service");
|
||||
system("systemctl daemon-reload >/dev/null 2>&1");
|
||||
sleep(3); # Wait for systemd to update configuration
|
||||
|
||||
if ($status eq "disabled") {
|
||||
system("systemctl disable ".
|
||||
|
Reference in New Issue
Block a user