chiark / gitweb /
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path
[elogind.git] / units / fedora / plymouth-poweroff.service
index fb6f9aed3089e4f687c8e971cbbdc706f38e9531..b73a446905a8c1fe6cb07d861b3bb10918eaa169 100644 (file)
@@ -7,16 +7,13 @@
 
 [Unit]
 Description=Show Plymouth Power Off Screen
 
 [Unit]
 Description=Show Plymouth Power Off Screen
-After=getty@tty1.service prefdm.service
+After=getty@tty1.service prefdm.service plymouth-start.service
 Before=poweroff.service
 DefaultDependencies=no
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=shutdown
 Before=poweroff.service
 DefaultDependencies=no
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=shutdown
-ExecStartPost=-/usr/bin/plymouth --sysinit
-ExecStartPost=-/usr/bin/plymouth --show-splash
-ExecStartPost=-/usr/bin/plymouth message '--text=Powering Off...'
+ExecStartPost=-/bin/plymouth --sysinit
+ExecStartPost=-/bin/plymouth --show-splash
+ExecStartPost=-/bin/plymouth message '--text=Powering Off...'
 Type=forking
 Type=forking
-
-[Install]
-WantedBy=poweroff.target