python-cd/supervisord.conf

28 lines
575 B
Plaintext

[supervisord]
nodaemon=true
[program:githook-server]
command=python githook.py
directory=/home/githook
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/githook.log
[program:app]
command=python app.py
directory=/home/app
autostart=true
autorestart=false
redirect_stderr=true
stdout_logfile=/var/log/app.log
[supervisorctl]
serverurl=unix:///var/run/supervisor/supervisor.sock
[unix_http_server]
file=/var/run/supervisor/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface