chiark / gitweb /
units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due...
[elogind.git] / units / fedora / poweroff.service
index 07af6c62c3b112a3125de8e1541d22ce84874c7d..76d030c041c2cf15e51ab6ce184d87629aac183f 100644 (file)
@@ -7,12 +7,14 @@
 
 [Unit]
 Description=Power-Off
+DefaultDependencies=no
 Requires=shutdown.target killall.service
 After=shutdown.target killall.service
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardInput=tty