Correction de bug dans glpi_init.sh

Remplacement de supervisor par runit
Correction de cron qui ne semble pas s'exécuter normalement
This commit is contained in:
root
2020-08-06 10:03:42 +02:00
parent 9cda96d277
commit 815cc5ed55
10 changed files with 51 additions and 20 deletions

View File

@ -1,4 +1,7 @@
[program:apache2]
command=apache2-foreground
autostart=true
autorestart=true
command = apache2-foreground
autostart = true
autorestart = true
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0

View File

@ -1,4 +1,7 @@
[program:cron]
command=cron -f -L 15
autostart=true
autorestart=true
command = cron -f
autostart = true
autorestart = true
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0

View File

@ -1,5 +1,8 @@
[program:glpi_init]
command=/root/glpi_init.sh
command = /root/glpi_init.sh
startsecs = 0
autorestart = false
startretries = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0

View File

@ -1,9 +1,10 @@
; supervisor config file
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
logfile = /var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile = /var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir = /var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
user = root
; The [include] section can just contain the "files" setting. This
; setting can list multiple files (separated by whitespace or