add config file for supervisord

This commit is contained in:
Alone
2019-10-28 17:33:13 +08:00
parent 75acb9f8a5
commit 8b2bcc6d15
2 changed files with 4 additions and 1 deletions

View File

@ -965,7 +965,9 @@ ARG INSTALL_SUPERVISOR=false
RUN if [ ${INSTALL_SUPERVISOR} = true ]; then \
if [ ${INSTALL_PYTHON} = true ]; then \
python -m pip install --upgrade supervisor && \
echo_supervisord_conf > /etc/supervisord.conf \
echo_supervisord_conf > /etc/supervisord.conf && \
sed -i 's/\;\[include\]/\[include\]/g' /etc/supervisord.conf && \
sed -i 's/\;files\s.*/files = supervisord.d\/*.conf/g' /etc/supervisord.conf \
;fi \
;fi