Initial Commit

This commit is contained in:
Domingo Dirutigliano
2022-06-11 21:57:50 +02:00
committed by DomySh
commit 372ade7d6f
43 changed files with 30381 additions and 0 deletions

29
backend/supervisord.conf Executable file
View File

@@ -0,0 +1,29 @@
[supervisord]
logfile = /dev/null
loglevel = info
user = root
pidfile = /var/run/supervisord.pid
nodaemon = true
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
startretries=5
numprocs=1
startsecs=0
process_name=%(program_name)s_%(process_num)02d
stderr_logfile=/var/log/supervisor/%(program_name)s_stderr.log
stderr_logfile_maxbytes=10MB
stdout_logfile=/var/log/supervisor/%(program_name)s_stdout.log
stdout_logfile_maxbytes=10MB
[program:uwsgi_backend]
directory=/execute
command=uwsgi --http 127.0.0.1:8080 --master --module app:app
stdout_logfile="syslog"
stderr_logfile="syslog"
startsecs=10
stopsignal=QUIT
stopasgroup=true
killasgroup=true