diff options
Diffstat (limited to 'cfengine')
-rw-r--r-- | cfengine/cf.services.file | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file index 86bc1c8..67e0438 100644 --- a/cfengine/cf.services.file +++ b/cfengine/cf.services.file @@ -22,6 +22,7 @@ control: # Determine if this is a samba server, netatalk server or both, and define # classes based on that. # +classes: samba = ( `/usr/bin/test -x /usr/sbin/smbd` ) netatalk = ( `/usr/bin/test -x /usr/sbin/afpd` ) @@ -405,7 +406,7 @@ directories: group=users processes: - "smb" restart "/etc/init.d/samba start" + "smb" restart "/etc/init.d/samba restart" shellcommands: samba_reload:: |