chiark / gitweb /
units: turn shutdown dependencies from Requires into Wants to make things a bit more...
[elogind.git] / units / gentoo / halt.service
index ecf4cff4f58b8af5b246de1acc4e45920dec1def..28db813fb37772f6d1f04fe530d4fab77ce2f2d6 100644 (file)
@@ -8,13 +8,13 @@
 [Unit]
 Description=Halt
 DefaultDependencies=no
-Requires=shutdown.target killall.service
+Wants=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 sys-kernel-security.automount
 
 [Service]
 Type=finish
 ValidNoProcess=yes
-Environment=INIT_HALT=HALT
-Environment=RC_DOWN_HARDDISK=yes
+Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty