15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
start on runlevel [2345]
|
|
stop on runlevel [016]
|
|
|
|
respawn
|
|
# the default post-start of 1 second sleep delays respawning enough to
|
|
# not hit the default of 10 times in 5 seconds. Make it 2 times in 5s.
|
|
respawn limit 2 5
|
|
|
|
# We're logging to syslog
|
|
console none
|
|
|
|
exec start-stop-daemon --start -c root --exec /usr/local/bin/muranoagent -- --config-dir /etc/murano 2>&1 | logger -t murano-agent
|
|
|
|
post-start exec sleep 1
|