supervisord logs to stderr and pidfile in /tmp/
This commit is contained in:
@@ -24,7 +24,6 @@ spec:
|
||||
containers:
|
||||
- name: nextcloud
|
||||
image: cr.lan/nextcloud:latest
|
||||
#image: docker.io/nextcloud:stable-apache
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
logfile=/var/log/supervisord/supervisord.log
|
||||
pidfile=/var/run/supervisord/supervisord.pid
|
||||
logfile=/dev/stderr
|
||||
pidfile=/tmp/supervisord.pid
|
||||
childlogdir=/var/log/supervisord/
|
||||
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
||||
logfile_backups=10 ; number of backed up logfiles
|
||||
logfile_backups=1 ; number of backed up logfiles
|
||||
loglevel=error
|
||||
|
||||
[program:apache2]
|
||||
|
||||
Reference in New Issue
Block a user