15df963544
During cloud-init related improvements murano-agent location was specified for the pip-style installation. This leads to unability to deploy the apps on the images with pre-installed murano-agent without network. This commit create a symlink to the pre-installed agent in place where pip usually installs packages. Change-Id: I8d90d33dc0a1c36ac4524f8f3b82223c23829126 Closes-Bug: #1570962
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
|