Test 3 for build workflow

This commit is contained in:
Jarno Rankinen 2022-07-31 22:46:24 +03:00
parent bc1441b9de
commit f3c11bae83
2 changed files with 23 additions and 1 deletions

View File

@ -9,7 +9,6 @@ RUN apt-get update &&\
mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /
COPY apache2.conf /etc/apache2/
ENV NEXTCLOUD_UPDATE=1

23
supervisord.conf Normal file
View File

@ -0,0 +1,23 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
[program:apache2]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh