We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660b4bf commit 10a48c1Copy full SHA for 10a48c1
assets/build/install.sh
@@ -251,6 +251,10 @@ echo "UseDNS no" >> /etc/ssh/sshd_config
251
# move supervisord.log file to ${GITLAB_LOG_DIR}/supervisor/
252
sed -i "s|^[#]*logfile=.*|logfile=${GITLAB_LOG_DIR}/supervisor/supervisord.log ;|" /etc/supervisor/supervisord.conf
253
254
+# prevent confusing warning "CRIT Supervisor running as root" by clarify run as root
255
+# user not defined in supervisord.conf by default, so just append it after [supervisord] block
256
+sed -i "/\[supervisord\]/a user=root" /etc/supervisor/supervisord.conf
257
+
258
# move nginx logs to ${GITLAB_LOG_DIR}/nginx
259
sed -i \
260
-e "s|access_log /var/log/nginx/access.log;|access_log ${GITLAB_LOG_DIR}/nginx/access.log;|" \
0 commit comments