45 lines
920 B
INI
45 lines
920 B
INI
|
[supervisord]
|
||
|
nodaemon=true
|
||
|
|
||
|
|
||
|
[program:rsyslog]
|
||
|
command = /usr/sbin/rsyslogd -n
|
||
|
directory = /
|
||
|
user = root
|
||
|
autostart = true
|
||
|
stdout_logfile=/dev/stdout
|
||
|
stdout_logfile_maxbytes=0
|
||
|
stderr_logfile=/dev/stderr
|
||
|
stderr_logfile_maxbytes=0
|
||
|
|
||
|
|
||
|
[program:apache2]
|
||
|
environment=HOSTNAME="%(ENV_HOSTNAME)s"
|
||
|
command = apachectl -D "FOREGROUND" -k start
|
||
|
directory = /loginapp
|
||
|
user = root
|
||
|
autostart = true
|
||
|
stdout_logfile=/dev/stdout
|
||
|
stdout_logfile_maxbytes=0
|
||
|
stderr_logfile=/dev/stderr
|
||
|
stderr_logfile_maxbytes=0
|
||
|
|
||
|
[program:php-fpm]
|
||
|
environment=HOSTNAME="%(ENV_HOSTNAME)s"
|
||
|
command = /usr/sbin/php-fpm8.1 -F -R
|
||
|
autostart = true
|
||
|
autorestart = true
|
||
|
directory = /loginapp
|
||
|
user = root
|
||
|
stdout_logfile=/dev/stdout
|
||
|
stdout_logfile_maxbytes=0
|
||
|
stderr_logfile=/dev/stderr
|
||
|
stderr_logfile_maxbytes=0
|
||
|
|
||
|
|
||
|
|
||
|
[unix_http_server]
|
||
|
file=/var/run/supervisor.sock
|
||
|
|
||
|
[rpcinterface:supervisor]
|
||
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|