chiark / gitweb /
units: suse - reboot: do not wait for tty
[elogind.git] / units / suse / reboot.service
index 902648c50b8d9cce74c4280e2e05e669319dab47..6b2982a9a0f3108c6cd503bce551b41602bff07b 100644 (file)
@@ -8,11 +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
 ValidNoProcess=yes
-ExecStart=/etc/init.d/reboot start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/reboot
+StandardOutput=tty