Skip to content

Commit

Permalink
configure redmine to log to stdout (=journal) instead of file
Browse files Browse the repository at this point in the history
Fixes: #1989
  • Loading branch information
evgeni committed May 10, 2024
1 parent 89df62f commit e3a6a09
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
10 changes: 0 additions & 10 deletions puppet/modules/redmine/files/logrotate

This file was deleted.

6 changes: 1 addition & 5 deletions puppet/modules/redmine/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,7 @@

# Logrotate
file { '/etc/logrotate.d/redmine':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => file('redmine/logrotate'),
ensure => absent,
}

}
1 change: 1 addition & 0 deletions puppet/modules/redmine/templates/redmine.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ExecStart=<%= @app_root %>/bin/rails server --environment production
PrivateTmp=true
WorkingDirectory=<%= @app_root %>
SyslogIdentifier=redmine
Environment=RAILS_LOG_TO_STDOUT=1

0 comments on commit e3a6a09

Please sign in to comment.