chiark / gitweb /
exec: extend variable substitution to support splitting variable values into seperate...
[elogind.git] / units / emergency.service
index a5a54bc9d23e4b4e452c8f8cec218b873ba50a55..7a1f81a468bb77eb602a33d1e4dc5978b2febd9d 100644 (file)
@@ -10,7 +10,6 @@
 [Unit]
 Description=Emergency Shell
 DefaultDependencies=no
 [Unit]
 Description=Emergency Shell
 DefaultDependencies=no
-After=shutdown.target
 
 [Service]
 ExecStartPre=-/bin/plymouth --hide-splash
 
 [Service]
 ExecStartPre=-/bin/plymouth --hide-splash
@@ -23,4 +22,4 @@ KillMode=process-group
 
 # Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
 # terminates cleanly.
 
 # Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
 # terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+ExecStop=-/bin/kill -HUP ${MAINPID}