aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc-local-shutdown.service2
-rw-r--r--rc-local.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc-local-shutdown.service b/rc-local-shutdown.service
index 5f672f7..2d0715c 100644
--- a/rc-local-shutdown.service
+++ b/rc-local-shutdown.service
@@ -1,6 +1,6 @@
[Unit]
Description=/etc/rc.local.shutdown Compatibility
-ConditionPathIsExecutable=/etc/rc.local.shutdown
+ConditionFileIsExecutable=/etc/rc.local.shutdown
DefaultDependencies=no
After=rc-local.service basic.target
Before=shutdown.target
diff --git a/rc-local.service b/rc-local.service
index 6c4c412..b17b091 100644
--- a/rc-local.service
+++ b/rc-local.service
@@ -1,6 +1,6 @@
[Unit]
Description=/etc/rc.local Compatibility
-ConditionPathIsExecutable=/etc/rc.local
+ConditionFileIsExecutable=/etc/rc.local
[Service]
Type=oneshot