Skip to content

Commit

Permalink
Silence "CRIT Server" warning from supervisord.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcormier committed Oct 24, 2019
1 parent 548bd2d commit b65adf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

**3.4.12**
- redmine: upgrade to v3.4.12
- Fix "CRIT Server 'unix_http_server' running without any HTTP authentication checking"

**3.4.11**
- redmine: upgrade to v3.4.11
Expand Down
5 changes: 5 additions & 0 deletions assets/build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ stdout_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
stderr_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
EOF

# silence "CRIT Server 'unix_http_server' running without any HTTP authentication checking" message
# https://github.com/Supervisor/supervisor/issues/717
sed -i '/\.sock/a password=dummy' /etc/supervisor/supervisord.conf
sed -i '/\.sock/a username=dummy' /etc/supervisor/supervisord.conf

# purge build dependencies and cleanup apt
apt-get purge -y --auto-remove ${BUILD_DEPENDENCIES}
rm -rf /var/lib/apt/lists/*

0 comments on commit b65adf9

Please sign in to comment.