summaryrefslogtreecommitdiff
path: root/units/fedora/plymouth-shutdown.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-10 03:44:02 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-10 03:44:05 +0200
commit1310609b0507c9d4562d091e3c9eda94b07773cd (patch)
tree22c34f18b24ad1649e3586cf3f3fce9ddc3d6483 /units/fedora/plymouth-shutdown.service
parent1f31e8d3a62a9399774409b9cb6d5c4104d04b02 (diff)
unit: hook plymouth into the boot
https://bugzilla.redhat.com/show_bug.cgi?id=619922
Diffstat (limited to 'units/fedora/plymouth-shutdown.service')
-rw-r--r--units/fedora/plymouth-shutdown.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/units/fedora/plymouth-shutdown.service b/units/fedora/plymouth-shutdown.service
new file mode 100644
index 0000000000..da3acecd16
--- /dev/null
+++ b/units/fedora/plymouth-shutdown.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 Shutdown 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=Shutting Down'
+Type=forking
+
+[Install]
+WantedBy=shutdown.target