Skip to content

Commit

Permalink
New systemd actions have to be enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 16, 2022
1 parent 966ee7b commit c6b1e05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions updateboot.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
unlink("$p/$product");
}
copy_source_dest("usermin-systemd", "$systemd_root/$product.service");
system("systemctl unmask $product >/dev/null 2>&1");
system("systemctl enable $product >/dev/null 2>&1");
system("systemctl daemon-reload >/dev/null 2>&1");
}
elsif (-d "/etc/init.d") {
Expand Down

0 comments on commit c6b1e05

Please sign in to comment.