Début du projet
This commit is contained in:
4
supervisor/conf.d/apache2.conf
Normal file
4
supervisor/conf.d/apache2.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[program:apache2]
|
||||
command=apache2-foreground
|
||||
autostart=true
|
||||
autorestart=true
|
4
supervisor/conf.d/cron.conf
Normal file
4
supervisor/conf.d/cron.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[program:cron]
|
||||
command=cron -f -L 15
|
||||
autostart=true
|
||||
autorestart=true
|
5
supervisor/conf.d/glpi_init.conf
Normal file
5
supervisor/conf.d/glpi_init.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[program:glpi_init]
|
||||
command=/root/glpi_init.sh
|
||||
startsecs = 0
|
||||
autorestart = false
|
||||
startretries = 1
|
15
supervisor/supervisord.conf
Normal file
15
supervisor/supervisord.conf
Normal file
@ -0,0 +1,15 @@
|
||||
; 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)
|
||||
|
||||
; The [include] section can just contain the "files" setting. This
|
||||
; setting can list multiple files (separated by whitespace or
|
||||
; newlines). It can also contain wildcards. The filenames are
|
||||
; interpreted as relative to this file. Included files *cannot*
|
||||
; include files themselves.
|
||||
|
||||
[include]
|
||||
files = /etc/supervisor/conf.d/*.conf
|
Reference in New Issue
Block a user