[Unit]
Description=Emergency Shell
DefaultDependencies=no
-After=shutdown.target
[Service]
ExecStartPre=-/bin/plymouth --hide-splash
# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
# terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+ExecStop=-/bin/kill -HUP ${MAINPID}