mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
use supervisord in image
This commit is contained in:
parent
0105c60a09
commit
6fdadd9bad
9 changed files with 47 additions and 17 deletions
25
nix/image/configs/supervisor/supervisord.conf
Normal file
25
nix/image/configs/supervisor/supervisord.conf
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[supervisord]
|
||||
logfile = /dev/stdout
|
||||
logfile_maxbytes = 0
|
||||
nodaemon = true
|
||||
pidfile = /var/run/supervisord.pid
|
||||
|
||||
[unix_http_server]
|
||||
file = /var/run/supervisor.sock
|
||||
chmod = 0777
|
||||
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
[supervisorctl]
|
||||
serverurl = unix:///var/run/supervisor.sock
|
||||
|
||||
[program:nginx]
|
||||
command = /bin/nginx -c /etc/nginx.conf
|
||||
|
||||
[program:php-fpm]
|
||||
command = /bin/php-fpm --fpm-config /etc/php-fpm.conf
|
||||
|
||||
[include]
|
||||
files = enabled/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue