Skip to content

Commit

Permalink
Update supervisor config
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-ismagilov committed Nov 27, 2023
1 parent fe8772f commit fee4404
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud-instance-docker/live.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec java -jar live.jar --port=8080 --config-directory=config --creds=creds.json > output.log 2> error.log
exec java -jar live.jar --port=8080 --config-directory=config --creds=creds.json
9 changes: 9 additions & 0 deletions src/cloud-instance-docker/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
[supervisord]
nodaemon=true

[inet_http_server]
port=127.0.0.1:9001
password=%(ENV_PASSWORD)s

[program:overlay]
command=/workspace/live.sh
directory=/workspace
autostart=false
autorestart=false
stopasgroup=true
stdout_logfile=/workspace/output.log
stderr_logfile=/workspace/error.log

0 comments on commit fee4404

Please sign in to comment.