chiark / gitweb /
telinit: forward to upstart, if not booted with systemd
[elogind.git] / units / suse / poweroff.service
index cb90874c32af2126d1826f209d2304bec11803d5..f9f7b56dc1fd18eb249e2100b86d65901381d7ef 100644 (file)
@@ -8,12 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Requires=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
+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
 StandardInput=tty