Skip to content

Commit

Permalink
Merge pull request #61 from docker/180802
Browse files Browse the repository at this point in the history
enhance supervisord config
  • Loading branch information
pcaskey authored Sep 4, 2018
2 parents 078fb61 + f67e6c1 commit e8aa221
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV TOMCAT_MAJOR=9 \
##shib-idp \
VERSION=3.3.3 \
##TIER \
TIERVERSION=180801 \
TIERVERSION=180802 \
################## \
### OTHER VARS ### \
################## \
Expand Down Expand Up @@ -163,8 +163,8 @@ ADD container_files/system/startup.sh /usr/bin/
ADD container_files/bin/setenv.sh /opt/tier/setenv.sh
ADD container_files/bin/setupcron.sh /usr/bin/setupcron.sh
ADD container_files/bin/sendtierbeacon.sh /usr/bin/sendtierbeacon.sh
ADD container_files/system/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN chmod +x /opt/tier/setenv.sh \
ADD container_files/system/supervisord.conf /etc/supervisor/supervisord.conf
RUN mkdir -p /etc/supervisor/conf.d && chmod +x /opt/tier/setenv.sh \
&& chmod +x /usr/bin/setupcron.sh \
&& chmod +x /usr/bin/startup.sh \
&& chmod +x /usr/bin/sendtierbeacon.sh \
Expand Down
2 changes: 1 addition & 1 deletion container_files/system/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ sed -i -e '/<rollingPolicy/,/<\/rollingPolicy>/d' ${IDP_LOG_CFG_FILE}


#launch supervisord
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
3 changes: 3 additions & 0 deletions container_files/system/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ stdout_logfile=/tmp/logtomcat
stdout_logfile_maxbytes=0
stderr_logfile=/tmp/logtomcat
stderr_logfile_maxbytes=0

[include]
files=/etc/supervisor/conf.d/*

0 comments on commit e8aa221

Please sign in to comment.