shutdown.target is special unit to which systemd automatically adds
Conflicts= with for every unit.
By removing the relation to this target in shutdown units we practically
change the shutdown to use only explicitly configured units.
Change-Id: I93a43cdb3875250920e3e49817ffcd6f7f7725b6
Description=Halt
Documentation=man:systemd-halt.service(8)
DefaultDependencies=no
-Requires=shutdown.target umount.target final.target
-After=shutdown.target umount.target final.target
+Requires=final.target
+After=final.target
[Service]
Type=oneshot
Description=Power-Off
Documentation=man:systemd-halt.service(8)
DefaultDependencies=no
-Requires=shutdown.target umount.target final.target
-After=shutdown.target umount.target final.target
+Requires=final.target
+After=final.target
SuccessAction=poweroff-force
[Service]
Description=Reboot
Documentation=man:systemd-halt.service(8)
DefaultDependencies=no
-Requires=shutdown.target umount.target final.target
-After=shutdown.target umount.target final.target
+Requires=final.target
+After=final.target
SuccessAction=reboot-force
[Service]