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