revert supervisor config

This commit is contained in:
Dieter Schmidt
2022-04-04 15:42:40 +02:00
parent b59dbea4d4
commit 87eea8a408
3 changed files with 5 additions and 6 deletions

View File

@@ -116,6 +116,6 @@ COPY --chown=${USER}:${USER} --from=builder ${HOME}/moonraker ${HOME}/moonraker
COPY --chown=${USER}:${USER} --from=builder ${MOONRAKER_VENV_DIR} ${MOONRAKER_VENV_DIR}
COPY --chown=${USER}:${USER} config ${CONFIG_DIR}
COPY klipper/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY klipper/*.ini /etc/supervisor/
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
COPY klipper/supervisord.conf /etc/supervisord/conf.d/supervisord.conf
COPY klipper/*.ini /etc/supervisord/
CMD ["supervisord", "-c", "/etc/supervisord/conf.d/supervisord.conf"]

View File

@@ -6,5 +6,4 @@ stdout_logfile_maxbytes = 0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes = 0
autorestart=true
autostart=false
dependent_startup=true
autostart=true

View File

@@ -16,7 +16,7 @@ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
serverurl=unix:///tmp/supervisor.sock
[eventlistener:dependentstartup]
command=python -m supervisord_dependent_startup -c /etc/supervisor/conf.d/supervisord.conf
command=python -m supervisord_dependent_startup -c /etc/supervisord/conf.d/supervisord.conf
autostart=true
autorestart=unexpected
startretries=0