diff --git a/supervisord.conf b/supervisord.conf new file mode 100644 index 0000000..bdf91ea --- /dev/null +++ b/supervisord.conf @@ -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] \ No newline at end of file