marsadm: enable all existing templates

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-02 19:39:31 +01:00 committed by Thomas Schoebel-Theuer
parent 334ea01b6a
commit 893a00976a
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ sub instantiate_systemd_unit {
print OUT $text;
close(OUT);
rename("$outfile.tmp", $outfile);
systemctl("enable '$replac'");
return (1, $outfile);
}