diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-12 04:25:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-12 04:25:02 +0200 |
commit | 82e487c56d0947796793b6fd2836264328defe9f (patch) | |
tree | 2dfd5d979d064c7bc116cfca28ea1e1df65eac70 /units/suse | |
parent | 3611581ebdabbe3a1d6a9b5310a0b59792279d7d (diff) |
unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn
Diffstat (limited to 'units/suse')
-rw-r--r-- | units/suse/halt-local.service | 2 | ||||
-rw-r--r-- | units/suse/rc-local.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/units/suse/halt-local.service b/units/suse/halt-local.service index 68cacc6658..796012c0c4 100644 --- a/units/suse/halt-local.service +++ b/units/suse/halt-local.service @@ -7,7 +7,7 @@ [Unit] Description=/etc/init.d/halt.local Compatibility -ConditionPathExists=/etc/init.d/halt.local +ConditionFileIsExecutable=/etc/init.d/halt.local DefaultDependencies=no After=shutdown.target Before=final.target diff --git a/units/suse/rc-local.service b/units/suse/rc-local.service index 38884c5cd3..fe4c00716e 100644 --- a/units/suse/rc-local.service +++ b/units/suse/rc-local.service @@ -7,7 +7,7 @@ [Unit] Description=/etc/init.d/boot.local Compatibility -ConditionPathExists=/etc/init.d/boot.local +ConditionFileIsExecutable=/etc/init.d/boot.local [Service] Type=oneshot |