chiark / gitweb /
units: turn shutdown dependencies from Requires into Wants to make things a bit more...
[elogind.git] / units / arch / poweroff.service
index 3ca8f30e94c8b35c5c96788e13efa22818b8c4ac..0b1ee89aa679a65f7cbea3f5ae02e713f43a7ef5 100644 (file)
@@ -7,7 +7,8 @@
 
 [Unit]
 Description=Power-Off
-Requires=shutdown.target
+DefaultDependencies=no
+Wants=shutdown.target
 After=shutdown.target
 Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
 
@@ -16,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
+StandardInput=tty