chiark / gitweb /
unit: introduce ConditionFileIsExecutable= and use it where we check for a binary...
[elogind.git] / units / fedora / rc-local.service
index 8c0b2004944acb6b02913862c221d2d601439322..f5f940f7ee41dcafc64eb361f25437b87a86ecca 100644 (file)
@@ -7,7 +7,7 @@
 
 [Unit]
 Description=/etc/rc.local Compatibility
 
 [Unit]
 Description=/etc/rc.local Compatibility
-ConditionPathExists=/etc/rc.d/rc.local
+ConditionFileIsExecutable=/etc/rc.d/rc.local
 
 [Service]
 Type=forking
 
 [Service]
 Type=forking