diff --git a/deployment_scripts/puppet/modules/manila_auxiliary/templates/init.erb b/deployment_scripts/puppet/modules/manila_auxiliary/templates/init.erb index 2c642ec..6ca8238 100644 --- a/deployment_scripts/puppet/modules/manila_auxiliary/templates/init.erb +++ b/deployment_scripts/puppet/modules/manila_auxiliary/templates/init.erb @@ -4,6 +4,10 @@ author "Igor Gajsin " start on runlevel [2345] stop on runlevel [!2345] +respawn +respawn limit 20 5 +limit nofile 65535 65535 + chdir /var/run pre-start script @@ -15,4 +19,4 @@ pre-start script end script exec start-stop-daemon --start --chuid manila --exec /usr/bin/<%= @srv %> \ - -- --config-file=/etc/manila/manila.conf --log-file=/var/log/manila/<%= @srv %>.log \ No newline at end of file + -- --config-file=/etc/manila/manila.conf --log-file=/var/log/manila/<%= @srv %>.log