diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-28 15:38:30 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-28 15:38:30 +0000 |
commit | 0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25 (patch) | |
tree | bc9a4a2829efa7636cf388172d2babaff8c1eaa1 /systemd | |
parent | 7709d581183a1595fb9158e0643c1ec0c6ddfbd9 (diff) | |
download | initscripts-0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25.tar initscripts-0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25.tar.gz initscripts-0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25.tar.bz2 initscripts-0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25.tar.xz initscripts-0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25.zip |
Add [Install] sections to mandriva systemd service units.
They are no longer installed as static services, so we need this to
allow them to be enabled. It also permits the user to disable them if
they wish.
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/system/mandriva-everytime.service | 3 | ||||
-rw-r--r-- | systemd/system/mandriva-save-dmesg.service | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/systemd/system/mandriva-everytime.service b/systemd/system/mandriva-everytime.service index 890310b1..cc247dba 100644 --- a/systemd/system/mandriva-everytime.service +++ b/systemd/system/mandriva-everytime.service @@ -11,3 +11,6 @@ Type=oneshot TimeoutSec=0 StandardInput=tty RemainAfterExit=yes + +[Install] +WantedBy=basic.target diff --git a/systemd/system/mandriva-save-dmesg.service b/systemd/system/mandriva-save-dmesg.service index 5fd1bcaa..386e263e 100644 --- a/systemd/system/mandriva-save-dmesg.service +++ b/systemd/system/mandriva-save-dmesg.service @@ -9,3 +9,6 @@ Before=shutdown.target ExecStart=-/lib/systemd/mandriva-save-dmesg Type=oneshot RemainAfterExit=yes + +[Install] +WantedBy=shutdown.target |