chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: add default tmpwatch units
[elogind.git]
/
units
/
suse
/
reboot.service
diff --git
a/units/suse/reboot.service
b/units/suse/reboot.service
index 2bc452e180a4db020237dfc486d13d4b79de5045..001d1364a0f205c84c9ed30e193b9b6e6bd341f7 100644
(file)
--- a/
units/suse/reboot.service
+++ b/
units/suse/reboot.service
@@
-7,11
+7,13
@@
[Unit]
Description=Reboot
[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.automoun
t
+DefaultDependencies=no
+
Requires=shutdown.target umount
.target
+
After=shutdown.target umount.targe
t
[Service]
[Service]
-Type=finish
-ValidNoProcess=yes
-ExecStart=/etc/init.d/reboot start
+Type=oneshot
+RemainAfterExit=yes
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/reboot
+StandardOutput=tty