blob: 35652fa38352a9640ff398f3808bd9b8c490e8ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
CONFIGFILE=${CONFIGFILE:-/etc/chef/client.rb}
INTERVAL=${INTERVAL:-1800}
SPLAY=${SPLAY:-20}
ENCODING=${ENCODING:-UTF-8}
pidfile=${CHEF_CLIENT_PIDFILE:-/var/run/chef/client.pid}
command=${CHEF_CLIENT_BINARY:-/usr/bin/ruby19}
command_args="-E ${ENCODING} /usr/bin/chef-client -d -c ${CONFIGFILE} -i ${INTERVAL} -s ${SPLAY} -P ${pidfile} ${CHEF_CLIENT_OPTS}"
depend() {
need net
}
start_pre() {
checkpath -q -d /var/run/chef
}
|