Přidat supervisord.conf
All checks were successful
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Successful in 3m11s

This commit is contained in:
Radim Lipovčan 2024-03-12 18:15:06 +01:00
parent 5f119eb664
commit 41db8dd842

13
supervisord.conf Normal file
View File

@ -0,0 +1,13 @@
[program:nginx]
command=nginx -g "daemon off;" -c /opt/nginx.conf
autostart=true
autorestart=true
stdout_logfile=/var/log/nginx/access.log
stderr_logfile=/var/log/nginx/error.log
[program:java]
command=java -jar /opt/mcstatscli/MinecraftStatsCLI.jar
autostart=true
autorestart=true
stdout_logfile=/var/log/java/output.log
stderr_logfile=/var/log/java/error.log