chiark / gitweb /
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path
[elogind.git] / units / fedora / plymouth-poweroff.service
index 538a0c5cc5d12dc89dd616d9b740c7ef9f040c7e..b73a446905a8c1fe6cb07d861b3bb10918eaa169 100644 (file)
@@ -7,15 +7,13 @@
 
 [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
-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
-
-[Install]
-WantedBy=poweroff.target