chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / suse / halt.service
index bc237f02f0244fa2b1cd0c7e528adc4c1eb198a7..32b7dc204a702ac100e411feff3099e986ba0e65 100644 (file)
@@ -7,13 +7,13 @@
 
 [Unit]
 Description=Halt
-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
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
-Type=finish
+Type=oneshot
 ValidNoProcess=yes
-Environment=INIT_HALT=HALT
-Environment=RUNLEVEL=0
-ExecStart=/etc/init.d/halt start
+Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
+ExecStart=/etc/init.d/halt
+StandardOutput=tty