chiark / gitweb /
units: suse - reboot: do not wait for tty
[elogind.git] / units / suse / reboot.service
index 2bc452e180a4db020237dfc486d13d4b79de5045..6b2982a9a0f3108c6cd503bce551b41602bff07b 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
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
 Type=finish
 ValidNoProcess=yes
-ExecStart=/etc/init.d/reboot start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/reboot
+StandardOutput=tty