diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-04-19 19:48:51 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-04-19 19:48:51 +0000 |
| commit | f1f4c42ee7900ef2bdf80846cfd3a8bd65e13b4a (patch) | |
| tree | c7f6412cbe4ec81647cdde722e483b24e0244e3c /conf | |
| parent | df0cd95253f0573f527ab6bb7f2dd3fb9bebb445 (diff) | |
| download | puppet-f1f4c42ee7900ef2bdf80846cfd3a8bd65e13b4a.tar.gz puppet-f1f4c42ee7900ef2bdf80846cfd3a8bd65e13b4a.tar.xz puppet-f1f4c42ee7900ef2bdf80846cfd3a8bd65e13b4a.zip | |
Adding patch by apowers from #545.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2396 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/freebsd/puppetmasterd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/conf/freebsd/puppetmasterd b/conf/freebsd/puppetmasterd new file mode 100644 index 000000000..6f217dc8c --- /dev/null +++ b/conf/freebsd/puppetmasterd @@ -0,0 +1,26 @@ +#!/bin/sh +# + +# PROVIDE: puppetmasterd +# REQUIRE: NETWORK +# KEYWORD: FreeBSD shutdown + +. /etc/rc.subr + +name=puppetmasterd +rcvar=`set_rcvar` + +# set defaults +command=/usr/local/bin/puppetmasterd +pidfile="/var/run/$name.pid" +#required_files="/usr/local/etc/$name.conf" + +# read configuration and set defaults +load_rc_config "$name" +: ${puppetmasterd_enable="NO"} +: ${puppetmasterd_config="/usr/local/etc/puppetmasterd.conf"} +: ${puppetmasterd_flags=""} + +command_args="--config $puppetmasterd_config $puppetmasterd_flags" + +run_rc_command "$1" |
