Skip to content
Snippets Groups Projects
Commit d845403a authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

set start retries in supervisord to unlimited to avoid broken backend if...

set start retries in supervisord to unlimited to avoid broken backend if app-service instance containing the database is later running than the API, in rare cases this can happen though the service instance is started before the API instances
parent d3df9d4e
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,8 @@ if [[ -e /etc/os-release ]]; then
faafo_api="
[program:faafo_api]
command=$(which faafo-api)
priority=10"
priority=10
startretries=0"
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
echo "$faafo_api" | sudo tee -a /etc/supervisor/conf.d/faafo.conf
......@@ -181,7 +182,8 @@ priority=10"
faafo_worker="
[program:faafo_worker]
command=$(which faafo-worker)
priority=20"
priority=20
startretries=0"
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
echo "$faafo_worker" | sudo tee -a /etc/supervisor/conf.d/faafo.conf
......
......@@ -159,7 +159,8 @@ if [[ -e /etc/os-release ]]; then
faafo_api="
[program:faafo_api]
command=$(which faafo-api)
priority=10"
priority=10
startretries=0"
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
echo "$faafo_api" | sudo tee -a /etc/supervisor/conf.d/faafo.conf
......@@ -175,7 +176,8 @@ priority=10"
faafo_worker="
[program:faafo_worker]
command=$(which faafo-worker)
priority=20"
priority=20
startretries=0"
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
echo "$faafo_worker" | sudo tee -a /etc/supervisor/conf.d/faafo.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment