chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / suse / reboot.service
index 3dbb469117992dfe49cfbc42a3f96150cda37600..3ee290e659bd6c5ee741732c9e3193ba6e79833c 100644 (file)
@@ -7,11 +7,13 @@
 
 [Unit]
 Description=Reboot
-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
-ExecStart=/etc/init.d/reboot start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/reboot
+StandardOutput=tty