first commit

This commit is contained in:
2021-09-11 12:14:02 +02:00
parent b7f9bf21ba
commit 7d21ecf1e3
4 changed files with 56 additions and 2 deletions

30
supervisord.conf Normal file
View File

@@ -0,0 +1,30 @@
[supervisord]
nodaemon=true
user=root
[program:cron]
command=cron.sh
autostart=true
autorestart=true
[program:queue]
process_name=%(program_name)s_%(process_num)02d
command=queue.sh
numprocs=1
stdout_logfile=/proc/1/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/proc/1/fd/2
stderr_logfile_maxbytes=0
autostart=true
autorestart=true
startretries=0
[program:httpd]
process_name=%(program_name)s_%(process_num)02d
command=entrypoint.sh apache2-foreground
stdout_logfile=/proc/1/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/proc/1/fd/2
stderr_logfile_maxbytes=0
autostart=true
autorestart=true