修复wait-for-it.sh执行权限问题
This commit is contained in:
parent
6e4a71e6c9
commit
7eeca20abe
@ -1,5 +1,5 @@
|
||||
[program:web]
|
||||
command=bash -c "{{ directory }}/repo/wait-for-it.sh redis://127.0.0.1:{{ redis_port }} && {{ directory }}/env/bin/gunicorn --bind 127.0.0.1:{{ web_port }} --workers {{ gunicorn_workers }} agent.web:application"
|
||||
command=bash -c "chmod +x {{ directory }}/repo/wait-for-it.sh && {{ directory }}/repo/wait-for-it.sh redis://127.0.0.1:{{ redis_port }} && {{ directory }}/env/bin/gunicorn --bind 127.0.0.1:{{ web_port }} --workers {{ gunicorn_workers }} agent.web:application"
|
||||
environment=PYTHONUNBUFFERED=1{% if sentry_dsn %}, SENTRY_DSN="{{ sentry_dsn }}"{% endif %}
|
||||
autostart=true
|
||||
autorestart=true
|
||||
@ -18,7 +18,7 @@ user={{ user }}
|
||||
directory={{ directory }}
|
||||
|
||||
[program:worker]
|
||||
command=bash -c "{{ directory }}/repo/wait-for-it.sh redis://127.0.0.1:{{ redis_port }} && exec {{ directory }}/env/bin/rq worker {% if sentry_dsn %}--sentry-dsn '{{ sentry_dsn }}'{% endif %} --url redis://127.0.0.1:{{ redis_port }} high default low"
|
||||
command=bash -c "chmod +x {{ directory }}/repo/wait-for-it.sh && {{ directory }}/repo/wait-for-it.sh redis://127.0.0.1:{{ redis_port }} && exec {{ directory }}/env/bin/rq worker {% if sentry_dsn %}--sentry-dsn '{{ sentry_dsn }}'{% endif %} --url redis://127.0.0.1:{{ redis_port }} high default low"
|
||||
environment=PYTHONUNBUFFERED=1
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user