diff options
Diffstat (limited to 'distro/debian/etc/init/chef-solr.conf')
-rw-r--r-- | distro/debian/etc/init/chef-solr.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/distro/debian/etc/init/chef-solr.conf b/distro/debian/etc/init/chef-solr.conf new file mode 100644 index 0000000000..4ca885e28d --- /dev/null +++ b/distro/debian/etc/init/chef-solr.conf @@ -0,0 +1,17 @@ +# chef-solr - Chef Solr +# +# Chef Solr provides Solr search for Chef Server + +description "Chef Solr" + +start on filesystem +stop on runlevel [!2345] + +respawn +respawn limit 5 30 + +pre-start script + test -x /usr/bin/chef-solr || { stop; exit 0; } +end script + +exec /usr/bin/chef-solr -c /etc/chef/solr.rb -L /var/log/chef/solr.log |