Skip to content

Commit

Permalink
adding support for flags as per https://spaces.at.internet2.edu/displ…
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing committed Mar 17, 2020
1 parent bd3dfa8 commit c9bdc7e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
15 changes: 15 additions & 0 deletions container_files/tier-support/supervisord-base.conf
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions container_files/tier-support/supervisord-httpd.conf
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions container_files/tier-support/supervisord-shibsp.conf
Original file line number Diff line number Diff line change
@@ -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


31 changes: 0 additions & 31 deletions container_files/tier-support/supervisord-tomee.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c9bdc7e

Please sign in to comment.