File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ RUN groupadd -g "${PGID:-0}" -o valheim \
133133 libpulse-dev \
134134 libatomic1 \
135135 libc6 \
136+ tini \
136137 && echo 'LANG="en_US.UTF-8"' > /etc/default/locale \
137138 && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
138139 && rm -f /bin/sh \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ main() {
1313 setup_supervisor_http_server
1414 setup_status_http_server
1515 pre_supervisor_hook
16- exec /usr/local/bin/supervisord -c /usr/local/etc/supervisord.conf
16+ exec /usr/bin/tini -- /usr/ local/bin/supervisord -c /usr/local/etc/supervisord.conf
1717}
1818
1919
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ stdout_logfile_maxbytes=1MB
3030stderr_logfile_maxbytes=1MB
3131autostart=true
3232autorestart=true
33+ stopasgroup=true
34+ killasgroup=true
3335priority=20
3436
3537[program:valheim-bootstrap]
@@ -71,6 +73,8 @@ stdout_logfile_maxbytes=1MB
7173stderr_logfile_maxbytes=1MB
7274autostart=false
7375autorestart=true
76+ stopasgroup=true
77+ killasgroup=true
7478priority=50
7579
7680[program:valheim-backup]
@@ -83,6 +87,8 @@ stdout_logfile_maxbytes=1MB
8387stderr_logfile_maxbytes=1MB
8488autostart=false
8589autorestart=true
90+ stopasgroup=true
91+ killasgroup=true
8692priority=50
8793
8894[include]
You can’t perform that action at this time.
0 commit comments