Přidat supervisord.conf
Some checks failed
Build Nginx and PHP image / Build-Minecraft-Stats-Image (push) Has been cancelled
Some checks failed
Build Nginx and PHP image / Build-Minecraft-Stats-Image (push) Has been cancelled
This commit is contained in:
parent
ac0adf6ad8
commit
1c40477962
17
supervisord.conf
Normal file
17
supervisord.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
|
||||||
|
[program:nginx]
|
||||||
|
command=nginx -g "daemon off;"
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stdout_logfile=/var/log/nginx/access.log
|
||||||
|
stderr_logfile=/var/log/nginx/error.log
|
||||||
|
|
||||||
|
[program:java]
|
||||||
|
command=bash -c "service php8.1-fpm start"
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
startsecs=100
|
||||||
|
|
||||||
|
[supervisorctl]
|
Loading…
Reference in New Issue
Block a user