diff --git a/container_files/tier-support/supervisord-base.conf b/container_files/tier-support/supervisord-base.conf new file mode 100644 index 00000000..fc02363b --- /dev/null +++ b/container_files/tier-support/supervisord-base.conf @@ -0,0 +1,15 @@ +[supervisord] +logfile=/tmp/logsuperd ; supervisord log file +logfile_maxbytes=0 ; maximum size of logfile before rotation +loglevel=error ; info, debug, warn, trace +nodaemon=true ; run supervisord as a daemon +user=root ; default user + +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[supervisorctl] +serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket + +; Our processes +; writing output to stdout (1) and err (2) (for Docker logging) and disabling log rotation diff --git a/container_files/tier-support/supervisord-httpd.conf b/container_files/tier-support/supervisord-httpd.conf new file mode 100644 index 00000000..592182d2 --- /dev/null +++ b/container_files/tier-support/supervisord-httpd.conf @@ -0,0 +1,6 @@ +[program:httpd] +command=httpd -DFOREGROUND +stderr_logfile = /tmp/loghttpd +stderr_logfile_maxbytes=0 +stdout_logfile = /tmp/loghttpd +stdout_logfile_maxbytes=0 diff --git a/container_files/tier-support/supervisord-shibsp.conf b/container_files/tier-support/supervisord-shibsp.conf new file mode 100644 index 00000000..6ac0f0af --- /dev/null +++ b/container_files/tier-support/supervisord-shibsp.conf @@ -0,0 +1,9 @@ +[program:shibbolethsp] +user=shibd +command=/usr/sbin/shibd -f -F +stderr_logfile = /tmp/logshidb +stderr_logfile_maxbytes=0 +stdout_logfile = /tmp/logshidb +stdout_logfile_maxbytes=0 + + diff --git a/container_files/tier-support/supervisord-tomee.conf b/container_files/tier-support/supervisord-tomee.conf index 63cfb278..215381f2 100644 --- a/container_files/tier-support/supervisord-tomee.conf +++ b/container_files/tier-support/supervisord-tomee.conf @@ -1,34 +1,3 @@ -[supervisord] -logfile=/tmp/logsuperd ; supervisord log file -logfile_maxbytes=0 ; maximum size of logfile before rotation -loglevel=error ; info, debug, warn, trace -nodaemon=true ; run supervisord as a daemon -user=root ; default user - -[rpcinterface:supervisor] -supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface - -[supervisorctl] -serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket - -; Our processes -; writing output to stdout (1) and err (2) (for Docker logging) and disabling log rotation - -[program:httpd] -command=httpd -DFOREGROUND -stderr_logfile = /tmp/loghttpd -stderr_logfile_maxbytes=0 -stdout_logfile = /tmp/loghttpd -stdout_logfile_maxbytes=0 - -[program:shibbolethsp] -user=shibd -command=/usr/sbin/shibd -f -F -stderr_logfile = /tmp/logshidb -stderr_logfile_maxbytes=0 -stdout_logfile = /tmp/logshidb -stdout_logfile_maxbytes=0 - [program:tomee] user=tomcat command=/opt/tomee/bin/catalina.sh run