Skip to content

enhance supervisord config #61

Merged
merged 1 commit into from
Sep 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*