aboutsummaryrefslogtreecommitdiff
path: root/rc-local-shutdown.service
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-29 03:32:56 +0200
committerTom Gundersen <teg@jklm.no>2012-07-29 03:32:56 +0200
commitad6100d47b2d5337d1645e946de6f450dc990ff8 (patch)
treedb787bea1613ba337a8f39a8e5a539b4a5e740ae /rc-local-shutdown.service
parentecdcf3795e88c8e6a2c39321d8164798ba652df6 (diff)
downloadinitscripts-ad6100d47b2d5337d1645e946de6f450dc990ff8.tar.xz
rc-local-shutdown.service: don't conflict with shutdown.target
Reported-by: Oded Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc-local-shutdown.service')
-rw-r--r--rc-local-shutdown.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc-local-shutdown.service b/rc-local-shutdown.service
index b8fb291..5f672f7 100644
--- a/rc-local-shutdown.service
+++ b/rc-local-shutdown.service
@@ -1,7 +1,9 @@
[Unit]
Description=/etc/rc.local.shutdown Compatibility
-After=rc-local.service
ConditionPathIsExecutable=/etc/rc.local.shutdown
+DefaultDependencies=no
+After=rc-local.service basic.target
+Before=shutdown.target
[Service]
Type=oneshot