Merge "add respawn to init scripts"

This commit is contained in:
Jenkins 2016-09-29 12:40:51 +00:00 committed by Gerrit Code Review
commit dc0abcabd3
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ author "Igor Gajsin <igajsin@mirantis.com>"
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
-- --config-file=/etc/manila/manila.conf --log-file=/var/log/manila/<%= @srv %>.log