chiark / gitweb /
telinit: forward to upstart, if not booted with systemd
[elogind.git] / units / suse / reboot.service
index 2bc452e180a4db020237dfc486d13d4b79de5045..5fc24d1c8f5fc479243733eb79eb3886570d33f2 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
+StandardInput=tty