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

View File

@ -4,6 +4,10 @@ author "Igor Gajsin <igajsin@mirantis.com>"
start on runlevel [2345] start on runlevel [2345]
stop on runlevel [!2345] stop on runlevel [!2345]
respawn
respawn limit 20 5
limit nofile 65535 65535
chdir /var/run chdir /var/run
pre-start script pre-start script
@ -15,4 +19,4 @@ pre-start script
end script end script
exec start-stop-daemon --start --chuid manila --exec /usr/bin/<%= @srv %> \ 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