Merge "add respawn to init scripts"
This commit is contained in:
commit
dc0abcabd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user