summaryrefslogtreecommitdiff
path: root/chef/distro/debian/etc/init/chef-server.conf
blob: 1eebd8f0cbb9f39bd6a4f24e78cf51635f03dede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# chef-server - Chef Server
#
# Chef Server provides the Chef API server

description "Chef Server API"

start on filesystem
stop on runlevel [!2345]

respawn
respawn limit 5 30

pre-start script
    test -x /usr/bin/chef-server || { stop; exit 0; }
end script

exec /usr/bin/chef-server -e production -p 4000 -L /var/log/chef/server.log