From ccacf5b0aab0762e1b169530985eaed865660c6f Mon Sep 17 00:00:00 2001 From: Juri Jensen Date: Mon, 17 Sep 2001 10:04:04 +0000 Subject: * Added a classes section - maybe the samba and netatalk groups get defined...? --- cfengine/cf.services.file | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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:: -- cgit v1.2.3