chiark / gitweb /
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path
[elogind.git] / units / fedora / plymouth-reboot.service
index 286c8abf6c8ae7469d79ca129c7e2109c968b98f..900b6409fb2f44f1f7ad5294e1be2e2d89b8d6c4 100644 (file)
@@ -7,15 +7,13 @@
 
 [Unit]
 Description=Show Plymouth Reboot Screen
-After=getty@tty1.service prefdm.service
+After=getty@tty1.service prefdm.service plymouth-start.service
+Before=reboot.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=Rebooting...'
+ExecStartPost=-/bin/plymouth --sysinit
+ExecStartPost=-/bin/plymouth --show-splash
+ExecStartPost=-/bin/plymouth message '--text=Rebooting...'
 Type=forking
-
-[Install]
-WantedBy=reboot.target