chiark / gitweb /
units: connect shutdown scripts explicitly with the tty, because native units now...
[elogind.git] / units / gentoo / poweroff.service
index 1a0a6a44f81db25820e96f41b1086d93ffd99c73..9ceb205b05195c08a227b7199f920887f050c5de 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=RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty