mirror of https://github.com/schoebel/mars
marsadm: indirect daemon-reload.service
This commit is contained in:
parent
d47b57122d
commit
fe0b212ab6
|
@ -1833,7 +1833,7 @@ sub __systemd_commit {
|
|||
# because there may be inter-unit dependencies.
|
||||
if ($need_reload) {
|
||||
lprint "==== Restart systemd\n" if $verbose;
|
||||
systemctl("daemon-reload");
|
||||
_systemd_op("start", "daemon-reload.service");
|
||||
}
|
||||
lprint "==== Enabling new units\n" if $verbose;
|
||||
foreach my $unit (sort alphanum_cmp keys(%changes)) {
|
||||
|
|
Loading…
Reference in New Issue