aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-28 15:38:30 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-28 15:38:30 +0000
commit0ecd8e7d4731496c9f8f5c9b1836d32f1c828f25 (patch)
treebc9a4a2829efa7636cf388172d2babaff8c1eaa1 /systemd
parent7709d581183a1595fb9158e0643c1ec0c6ddfbd9 (diff)
downloadinitscripts-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.service3
-rw-r--r--systemd/system/mandriva-save-dmesg.service3
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