chiark / gitweb /
Fedora: don't ship [Install] sections; these are enabled in the system configuration.
[elogind.git] / units / fedora / plymouth-poweroff.service
index 538a0c5cc5d12dc89dd616d9b740c7ef9f040c7e..c92b66378abe58d9f5308935f189a6f573888beb 100644 (file)
@@ -8,6 +8,7 @@
 [Unit]
 Description=Show Plymouth Power Off Screen
 After=getty@tty1.service prefdm.service
+Before=poweroff.service
 DefaultDependencies=no
 
 [Service]
@@ -16,6 +17,3 @@ ExecStartPost=-/usr/bin/plymouth --sysinit
 ExecStartPost=-/usr/bin/plymouth --show-splash
 ExecStartPost=-/usr/bin/plymouth message '--text=Powering Off...'
 Type=forking
-
-[Install]
-WantedBy=poweroff.target