]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
systemd: add WantedBy snippets
authorChristoph Brill <egore@gmx.de>
Wed, 7 Nov 2012 19:33:02 +0000 (14:33 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 7 Nov 2012 19:33:59 +0000 (14:33 -0500)
This fixes systemctl enable.

https://bugs.freedesktop.org/show_bug.cgi?id=38348

systemd-units/plymouth-halt.service.in
systemd-units/plymouth-kexec.service.in
systemd-units/plymouth-poweroff.service.in
systemd-units/plymouth-quit-wait.service.in
systemd-units/plymouth-quit.service.in
systemd-units/plymouth-read-write.service.in
systemd-units/plymouth-reboot.service.in
systemd-units/plymouth-start.service.in

index 8fd6c48ea26d44ed2823c2d4f7a6799ef82d2929..084cfc342629a2e86e5f53908035f478a9efc1ff 100644 (file)
@@ -9,3 +9,6 @@ ConditionKernelCommandLine=!plymouth.enable=0
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
 Type=forking
+
+[Install]
+WantedBy=halt.target
index 6ee0461a9537d25479a4c5f76dbdfe6ee2b22a10..df66ca5116d6140471d8172be7ea0d1f3d9c97e7 100644 (file)
@@ -9,3 +9,6 @@ ConditionKernelCommandLine=!plymouth.enable=0
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
 Type=forking
+
+[Install]
+WantedBy=kexec.target
index 3e2a83c01bdc4745b87e7f6a999b39b67c5a5d66..9e03ba38ae00b307e9b02ece8c6d73662be9ac7e 100644 (file)
@@ -9,3 +9,5 @@ ConditionKernelCommandLine=!plymouth.enable=0
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
 Type=forking
+[Install]
+WantedBy=poweroff.target
index 9fc20e70ff43db3aaabc4417a6269b7c1df13491..02932243fd7bb31e2847b1689e78cbf25d7230bd 100644 (file)
@@ -6,3 +6,5 @@ After=rc-local.service plymouth-start.service systemd-user-sessions.service
 ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth --wait
 Type=oneshot
 TimeoutSec=20
+[Install]
+WantedBy=multi-user.target
index cf9901ef5342e5cddefdee9839fab9467cfcafad..24c11bbcb07a0166dc324d82e03ed19ab2d4c071 100644 (file)
@@ -6,3 +6,5 @@ After=rc-local.service plymouth-start.service systemd-user-sessions.service
 ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit
 Type=oneshot
 TimeoutSec=20
+[Install]
+WantedBy=multi-user.target
index 55b975eaffd9debd76d71bfbab6dc332aaaf28c9..5abfc49c7f736bcf33c5d550d526e5c55937ec50 100644 (file)
@@ -8,3 +8,5 @@ ConditionPathExists=!/etc/initrd-release
 [Service]
 ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth update-root-fs --read-write
 Type=oneshot
+[Install]
+WantedBy=sysinit.target
index a6e86e482c65c6a7a767e63e79246de700fe09eb..be0754cd62b2a5420016709fb4c58d8a0b400f88 100644 (file)
@@ -9,3 +9,5 @@ ConditionKernelCommandLine=!plymouth.enable=0
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
 Type=forking
+[Install]
+WantedBy=reboot.target
index bbff9f58f7bb0ddd505eccea88756fd1a2d5b158..0f9c4be49f9bcc931bd8a74fd65ace6a19964fba 100644 (file)
@@ -12,3 +12,5 @@ ExecStartPost=-/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/drm/
 Type=forking
 KillMode=none
 SendSIGKILL=no
+[Install]
+WantedBy=sysinit.target