Merge pull request 'fix: bug: edge entrypoint hardcodes projects/disinto.toml as supervisor argument (#542)' (#561) from fix/issue-542 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
596875de3c
1 changed files with 2 additions and 1 deletions
|
|
@ -17,8 +17,9 @@ fi
|
||||||
bash /opt/disinto/docker/edge/dispatcher.sh &
|
bash /opt/disinto/docker/edge/dispatcher.sh &
|
||||||
|
|
||||||
# Start supervisor loop in background
|
# Start supervisor loop in background
|
||||||
|
PROJECT_TOML="${PROJECT_TOML:-projects/disinto.toml}"
|
||||||
while true; do
|
while true; do
|
||||||
bash /opt/disinto/supervisor/supervisor-run.sh /opt/disinto/projects/disinto.toml 2>&1 | tee -a /opt/disinto-logs/supervisor.log || true
|
bash /opt/disinto/supervisor/supervisor-run.sh "/opt/disinto/${PROJECT_TOML}" 2>&1 | tee -a /opt/disinto-logs/supervisor.log || true
|
||||||
sleep 1200 # 20 minutes
|
sleep 1200 # 20 minutes
|
||||||
done &
|
done &
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue