mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
install: move supervisord.log file to /var/log/redmine/supervisor/
This commit is contained in:
parent
5a4bc463bb
commit
f68be75cd9
@ -103,6 +103,9 @@ sed 's/UsePAM yes/UsePAM no/' -i /etc/ssh/sshd_config
|
||||
sed 's/UsePrivilegeSeparation yes/UsePrivilegeSeparation no/' -i /etc/ssh/sshd_config
|
||||
echo "UseDNS no" >> /etc/ssh/sshd_config
|
||||
|
||||
# move supervisord.log file to /var/log/redmine/supervisor/
|
||||
sed 's|^logfile=.*|logfile=/var/log/gitlab/supervisor/supervisord.log ;|' -i /etc/supervisor/supervisord.conf
|
||||
|
||||
# configure supervisord log rotation
|
||||
cat > /etc/logrotate.d/supervisord <<EOF
|
||||
/var/log/gitlab/supervisor/*.log {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user