After=shutdown.target killall.service
[Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
Environment=INIT_HALT=HALT
Environment=RUNLEVEL=0
ExecStart=/etc/init.d/halt stop
DefaultDependencies=no
[Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
ExecStart=/etc/init.d/sendsigs stop
After=shutdown.target killall.service
[Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
Environment=RUNLEVEL=0
ExecStart=/etc/init.d/halt stop
After=shutdown.target killall.service
[Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
Environment=RUNLEVEL=6
ExecStart=/etc/init.d/reboot stop