Compare commits

..

No commits in common. "430a3a552d8de86573511e8b04d104d1387b7bc0" and "9109c923dd7318b24e26f1623ecc0ea4b6608ea2" have entirely different histories.

5 changed files with 13 additions and 50 deletions

View file

@ -108,7 +108,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisor.conf.d/* /etc/supervisor/conf.d/
COPY supervisord.conf /etc/supervisord.conf
# COPY --chmod=755 ./hooks/gx.post-installation.www.sh /app/gx.post-installation.www.sh

View file

@ -1,8 +0,0 @@
[program:apache2]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground

View file

@ -1,33 +0,0 @@
[program:nextcloud-background-worker]
; Root directory of your Nextcloud instance
directory=/var/www/nextcloud
; Exact command to run
command=/usr/bin/local/php occ background-job:worker -v -t 60 "OC\\TaskProcessing\\SynchronousBackgroundJob"
; Run directly as the www-data user
user=www-data
; Automatic start and restart
autostart=true ; start as soon as supervisord starts
autorestart=true ; always restart
startsecs=10 ; 10 seconds after supervisord starts
startretries=3 ; 3 attempts before considering it “failed”
; Proper signal handling (useful if the worker spawns children)
stopasgroup=true
killasgroup=true
; Start multiple instances
numprocs=3
; Dedicated logs for easier troubleshooting
; stdout_logfile=/var/log/supervisor/nextcloud-worker.out.log
; stderr_logfile=/var/log/supervisor/nextcloud-worker.err.log
; stdout_logfile_maxbytes=5MB
; stderr_logfile_maxbytes=5MB
; stdout_logfile_backups=3
; stderr_logfile_backups=3
; (optional) Additional environment variables
; environment=PATH="/usr/local/bin:/usr/bin:/bin"

View file

@ -1,8 +0,0 @@
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh

View file

@ -7,3 +7,16 @@ logfile_maxbytes=50MB ; maximum size of logfile before
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