From 1c40477962f25ea60ebf56dd5be9ca63f7ad5bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= Date: Tue, 26 Mar 2024 09:08:36 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20supervisord.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervisord.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 supervisord.conf 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