Skip to content

Commit

Permalink
update supervisor conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy201602 committed Sep 1, 2019
1 parent ba8d9ec commit d29b2ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
;files = relative/directory/*.ini
[program:web]
directory=/opt/webterminal
command=daphne -b 0.0.0.0 -p 8000 webterminal.asgi:channel_layer --ws-protocol=guacamole
command=/usr/local/bin/daphne -b 0.0.0.0 -p 8000 webterminal.asgi:channel_layer --ws-protocol=guacamole
autostart=true
autorestart=true
startsecs=3
Expand All @@ -150,7 +150,7 @@ stderr_logfile = /var/log/web/weberror.log
stopasgroup=true
[program:worker1]
directory=/opt/webterminal
command=python manage.py runworker --threads=100
command=/usr/bin/python3 manage.py runworker --threads=100
autostart=true
autorestart=true
startsecs=3
Expand All @@ -159,7 +159,7 @@ stderr_logfile = /var/log/web/workererror.log
stopasgroup=true
[program:worker2]
directory=/opt/webterminal
command=python manage.py runworker --threads=100
command=/usr/bin/python3 manage.py runworker --threads=100
autostart=true
autorestart=true
startsecs=3
Expand All @@ -168,7 +168,7 @@ stderr_logfile = /var/log/web/workererror.log
stopasgroup=true
[program:worker3]
directory=/opt/webterminal
command=python manage.py runworker --threads=100
command=/usr/bin/python3 manage.py runworker --threads=100
autostart=true
autorestart=true
startsecs=3
Expand All @@ -177,7 +177,7 @@ stderr_logfile = /var/log/web/workererror.log
stopasgroup=true
[program:worker4]
directory=/opt/webterminal
command=python manage.py runworker --threads=100
command=/usr/bin/python3 manage.py runworker --threads=100
autostart=true
autorestart=true
startsecs=3
Expand All @@ -186,7 +186,7 @@ stderr_logfile = /var/log/web/workererror.log
stopasgroup=true
[program:webterminalsshserver]
directory=/opt/webterminal/webterminal
command=python sshserver.py
command=/usr/bin/python3 sshserver.py
autostart=true
autorestart=true
startsecs=3
Expand Down

0 comments on commit d29b2ac

Please sign in to comment.