Notes Supervisor

Voir aussi :

runit (fonctionnalités de base incluse dans Busybox) https://wiki.archlinux.org/title/Runit

my_init

SystemD

S6

tini / dumb-init / catatonit

pid1 (paquet pid1) https://github.com/fpco/pid1

[program:plop] directory=/home/plop/front-website/ command=/home/plop/front-website/front-website -bind=":8081" autostart=true autorestart=true startsecs=10 stdout_logfile=/var/log/plop/stdout.log stdout_logfile_maxbytes=1MB stdout_logfile_backups=10 stdout_capture_maxbytes=1MB stderr_logfile=/var/log/plop/stderr.log stderr_logfile_maxbytes=1MB stderr_logfile_backups=10 stderr_capture_maxbytes=1MB user = plop
[program:gogs] directory=/home/git/gogs/ command=/home/git/gogs/gogs web autostart=true autorestart=true startsecs=10 stdout_logfile=/var/log/gogs/stdout.log stdout_logfile_maxbytes=1MB stdout_logfile_backups=10 stdout_capture_maxbytes=1MB stderr_logfile=/var/log/gogs/stderr.log stderr_logfile_maxbytes=1MB stderr_logfile_backups=10 stderr_capture_maxbytes=1MB environment = HOME="/home/git", USER="git" user = git
/usr/bin/supervisorctl -c /opt/etc/supervisord.conf

Si modif config

reread
update

Relacement du service supervisor

reload

Docker no logs

[supervisord] nodaemon=true logfile=/dev/null logfile_maxbytes=0