summaryrefslogtreecommitdiffstats
path: root/docker/files/supervisord.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/files/supervisord.conf')
-rw-r--r--docker/files/supervisord.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker/files/supervisord.conf b/docker/files/supervisord.conf
new file mode 100644
index 000000000..4a3d49fcd
--- /dev/null
+++ b/docker/files/supervisord.conf
@@ -0,0 +1,25 @@
+[supervisord]
+nodaemon=true
+logfile=/var/log/supervisor/supervisord.log
+logfile_maxbytes=50MB
+logfile_backups=10
+loglevel=debug
+pidfile=/var/run/supervisord.pid
+minfds=1024
+minprocs=200
+
+[program:httpd]
+command=/usr/sbin/httpd -DFOREGROUND
+
+[program:mysqld]
+command=/usr/bin/mysqld_safe
+
+[program:postfix]
+command = /usr/sbin/postfix start
+startsecs = 0
+autorestart = false
+
+[program:memcached]
+command=/usr/bin/memcached -u memcached
+stderr_logfile=/var/log/supervisor/memcached.log
+stdout_logfile=/var/log/supervisor/memcached.log