marsadm: indirect daemon-reload.service

This commit is contained in:
Thomas Schoebel-Theuer 2020-12-24 19:47:59 +01:00
parent d47b57122d
commit fe0b212ab6
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {