summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/fedora/plymouth-halt.service (renamed from units/fedora/plymouth-shutdown.service)6
-rw-r--r--units/fedora/plymouth-poweroff.service21
-rw-r--r--units/fedora/plymouth-reboot.service21
3 files changed, 45 insertions, 3 deletions
diff --git a/units/fedora/plymouth-shutdown.service b/units/fedora/plymouth-halt.service
index da3acecd16..9b77c5d776 100644
--- a/units/fedora/plymouth-shutdown.service
+++ b/units/fedora/plymouth-halt.service
@@ -6,7 +6,7 @@
# (at your option) any later version.
[Unit]
-Description=Show Plymouth Shutdown Screen
+Description=Show Plymouth Halt Screen
After=getty@tty1.service prefdm.service
DefaultDependencies=no
@@ -14,8 +14,8 @@ DefaultDependencies=no
ExecStart=/sbin/plymouthd --mode=shutdown
ExecStartPost=-/usr/bin/plymouth --sysinit
ExecStartPost=-/usr/bin/plymouth --show-splash
-ExecStartPost=-/usr/bin/plymouth message '--text=Shutting Down'
+ExecStartPost=-/usr/bin/plymouth message '--text=Halting...'
Type=forking
[Install]
-WantedBy=shutdown.target
+WantedBy=halt.target
diff --git a/units/fedora/plymouth-poweroff.service b/units/fedora/plymouth-poweroff.service
new file mode 100644
index 0000000000..538a0c5cc5
--- /dev/null
+++ b/units/fedora/plymouth-poweroff.service
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Show Plymouth Power Off Screen
+After=getty@tty1.service prefdm.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...'
+Type=forking
+
+[Install]
+WantedBy=poweroff.target
diff --git a/units/fedora/plymouth-reboot.service b/units/fedora/plymouth-reboot.service
new file mode 100644
index 0000000000..286c8abf6c
--- /dev/null
+++ b/units/fedora/plymouth-reboot.service
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Show Plymouth Reboot Screen
+After=getty@tty1.service prefdm.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...'
+Type=forking
+
+[Install]
+WantedBy=reboot.target