aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service
index 684d3db..6314c76 100755
--- a/add-service
+++ b/add-service
@@ -128,7 +128,7 @@ add_service() {
# Actually do enable/disable foo
if [ -n "$units_to_enable" ]; then
- /bin/systemctl --quiet enable $units_to_enable >/dev/null
+ /bin/systemctl --quiet preset $units_to_enable >/dev/null
if [ -n "$srv" -a ! -f "${systemd_migration_dir}/$srv" ]; then
touch "${systemd_migration_dir}/$srv"
fi