Skip to content

Commit 0fb84b9

Browse files
committed
Silence "CRIT Server" warning from supervisord.
Supervisor/supervisor#717 (comment)
1 parent 24f74bc commit 0fb84b9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
**4.0.5**
44
- redmine: upgrade to v4.0.5
5+
- Fix "CRIT Server 'unix_http_server' running without any HTTP authentication checking"
56

67
**4.0.4**
78
- redmine: upgrade to v4.0.4

assets/build/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ stdout_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
193193
stderr_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
194194
EOF
195195

196+
# silence "CRIT Server 'unix_http_server' running without any HTTP authentication checking" message
197+
# https://github.com/Supervisor/supervisor/issues/717
198+
sed -i '/\.sock/a password=dummy' /etc/supervisor/supervisord.conf
199+
sed -i '/\.sock/a username=dummy' /etc/supervisor/supervisord.conf
200+
196201
# purge build dependencies and cleanup apt
197202
apt-get purge -y --auto-remove ${BUILD_DEPENDENCIES}
198203
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)