chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: rename ValidNoProcess= to RemainAfterExit=
[elogind.git]
/
units
/
arch
/
poweroff.service
diff --git
a/units/arch/poweroff.service
b/units/arch/poweroff.service
index 3ca8f30e94c8b35c5c96788e13efa22818b8c4ac..df2812fd9b6119f5a5579eb7c2b63fdb2457425c 100644
(file)
--- a/
units/arch/poweroff.service
+++ b/
units/arch/poweroff.service
@@
-7,12
+7,13
@@
[Unit]
Description=Power-Off
[Unit]
Description=Power-Off
-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.automoun
t
+DefaultDependencies=no
+
Requires=shutdown.target umount
.target
+
After=shutdown.target umount.targe
t
[Service]
[Service]
-Type=
finish
-
ValidNoProcess
=yes
+Type=
oneshot
+
RemainAfterExit
=yes
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
+StandardOutput=tty