aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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