diff options
author | Juri Jensen <juri@xenux.dk> | 2001-09-17 10:04:04 +0000 |
---|---|---|
committer | Juri Jensen <juri@xenux.dk> | 2001-09-17 10:04:04 +0000 |
commit | ccacf5b0aab0762e1b169530985eaed865660c6f (patch) | |
tree | 53aabf017fcc281ecfc32421778d8ac353bddb8b /cfengine | |
parent | ff60dfd2056472dab874e2de1a6e0fcb5ff08292 (diff) |
* Added a classes section - maybe the samba and netatalk groups get
defined...?
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:: |