chiark / gitweb /
exec: automatically determine right TERM= setting based on tty name
[elogind.git] / units / fedora / plymouth-poweroff.service
index fb6f9aed3089e4f687c8e971cbbdc706f38e9531..c1eebb5ac2232a485d18026f316c3aee715ca72a 100644 (file)
@@ -7,16 +7,12 @@
 
 [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 --show-splash
+ExecStartPost=-/bin/plymouth message '--text=Powering Off...'
 Type=forking
-
-[Install]
-WantedBy=poweroff.target