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