Skip to content

Commit ed29aea

Browse files
authored
Merge pull request #2737 from kkimurak/silence-supervisord-unix_http_server-warning
Silence "CRIT unix_http_server" warning on startup
2 parents 5f9f562 + 95bc778 commit ed29aea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/build/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ echo "UseDNS no" >> /etc/ssh/sshd_config
251251
# move supervisord.log file to ${GITLAB_LOG_DIR}/supervisor/
252252
sed -i "s|^[#]*logfile=.*|logfile=${GITLAB_LOG_DIR}/supervisor/supervisord.log ;|" /etc/supervisor/supervisord.conf
253253

254+
# silence "CRIT Server 'unix_http_server' running without any HTTP authentication checking" message
255+
# https://github.com/Supervisor/supervisor/issues/717
256+
sed -i '/\.sock/a password=dummy' /etc/supervisor/supervisord.conf
257+
sed -i '/\.sock/a username=dummy' /etc/supervisor/supervisord.conf
254258
# prevent confusing warning "CRIT Supervisor running as root" by clarify run as root
255259
# user not defined in supervisord.conf by default, so just append it after [supervisord] block
256260
sed -i "/\[supervisord\]/a user=root" /etc/supervisor/supervisord.conf

0 commit comments

Comments
 (0)