chiark / gitweb /
unit: create three seperate plymouth service for halt/poweroff/reboot
[elogind.git] / units / fedora / single.service
index be30efcaa9ca480b519eba1660827e663ad85582..75b8ecc0b0e6c5ad939015d725abe4832277a89f 100644 (file)
@@ -11,7 +11,8 @@
 Description=Rescue Shell
 DefaultDependencies=no
 Conflicts=multi-user.target
-After=sysinit.target multi-user.target
+After=sysinit.target
+Before=multi-user.target
 
 [Service]
 ExecStartPre=-/bin/plymouth --hide-splash
@@ -22,6 +23,6 @@ Restart=restart-always
 RestartSec=0
 KillMode=process-group
 
-# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
 # terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+KillSignal=SIGHUP