File tree 3 files changed +5
-4
lines changed
docker-base-bookworm/etc/supervisor
docker-base-bullseye/etc/supervisor
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ file=/var/run/supervisor.sock ; (the path to the socket file)
5
5
chmod=0700 ; socket file mode (default 0700)
6
6
7
7
[supervisord]
8
- logfile=/dev/shm /supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
8
+ logfile=/var/log /supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
9
9
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
10
- childlogdir=/dev/shm /supervisor ; ('AUTO' child log dir, default $TEMP)
10
+ childlogdir=/var/log /supervisor ; ('AUTO' child log dir, default $TEMP)
11
11
user=root
12
12
13
13
; the below section must remain in the config file for RPC
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ file=/var/run/supervisor.sock ; (the path to the socket file)
5
5
chmod=0700 ; socket file mode (default 0700)
6
6
7
7
[supervisord]
8
- logfile=/dev/shm /supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
8
+ logfile=/var/log /supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
9
9
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
10
- childlogdir=/dev/shm /supervisor ; ('AUTO' child log dir, default $TEMP)
10
+ childlogdir=/var/log /supervisor ; ('AUTO' child log dir, default $TEMP)
11
11
user=root
12
12
13
13
; the below section must remain in the config file for RPC
Original file line number Diff line number Diff line change @@ -631,6 +631,7 @@ start() {
631
631
{%- endif %}
632
632
-e RUNTIME_OWNER=local \
633
633
--uts=host \{ # W/A: this should be set per-docker, for those dockers which really need host's UTS namespace #}
634
+ --tmpfs /var/log/supervisor:rw \
634
635
{%- if install_debug_image == " y" %}
635
636
-v /src:/src:ro -v /debug:/debug:rw \
636
637
{%- endif %}
You can’t perform that action at this time.
0 commit comments