chiark / gitweb /
units: suse - reboot: do not wait for tty
[elogind.git] / units / suse / poweroff.service
index f3d1542842579e9c2d686a951519c0c57eecce6a..f68882c14341bd5f2f61eb55ef2937cecb164b9f 100644 (file)
@@ -7,11 +7,13 @@
 
 [Unit]
 Description=Power-Off
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
 Type=finish
 ValidNoProcess=yes
-ExecStart=/etc/init.d/halt start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/halt
+StandardOutput=tty