summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine')
-rw-r--r--cfengine/cf.services.file10
1 files changed, 5 insertions, 5 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file
index ad7652c..86bc1c8 100644
--- a/cfengine/cf.services.file
+++ b/cfengine/cf.services.file
@@ -22,15 +22,15 @@ control:
# Determine if this is a samba server, netatalk server or both, and define
# classes based on that.
#
- samba = ( '/usr/bin/test -x /usr/sbin/smbd' )
- netatalk = ( '/usr/bin/test -x /usr/sbin/afpd' )
+ samba = ( `/usr/bin/test -x /usr/sbin/smbd` )
+ netatalk = ( `/usr/bin/test -x /usr/sbin/afpd` )
#
# Determine which print system is in use, and define classes based on that.
# We only support lprng and cups
#
- lprng = ( '/usr/bin/test -x /usr/sbin/lpd' )
- cups = ( '/usr/bin/test -x /usr/sbin/cupsd' )
+ lprng = ( `/usr/bin/test -x /usr/sbin/lpd` )
+ cups = ( `/usr/bin/test -x /usr/sbin/cupsd` )
editfiles:
samba::
@@ -405,7 +405,7 @@ directories:
group=users
processes:
- "smb" restart "/etc/init.d/samba restart"
+ "smb" restart "/etc/init.d/samba start"
shellcommands:
samba_reload::