sysom/tools/deploy/sysom.ini

13 lines
433 B
INI

[fcgi-program:sysom]
socket=tcp://localhost:7001
directory=/home/sysom/target/sysom_api
command=/home/sysom/virtualenv/bin/daphne -u /run/daphne%(process_num)d.sock --fd 0 --access-log - --proxy-headers sysom.asgi:application
numprocs=4
process_name=asgi%(process_num)d
autostart=true
autorestart=true
redirect_stderr=true
stopasgroup=true
stdout_logfile=/home/sysom/logs/supervisor.log
environment=PATH="/home/sysom/virtualenv/bin"