Skip to content

Commit

Permalink
Adding syslog out of if loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Gramic authored and richm committed Jan 10, 2024
1 parent 0fc3205 commit 09e17a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/journald.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ RutimeMaxFiles={{ journald_max_files }}
RuntimeMaxFileSize={{ journald_max_file_size }}M
{% endif %}
Compress={{ journald_compression | bool | ternary("yes", "no") }}
ForwardToSyslog={{ journald_forward_to_syslog | bool | ternary("yes", "no") }}
{# SyncInterval= #}
{% if journald_sync_interval | int != 0 %}
SyncIntervalSec={{ journald_sync_interval }}m
{% endif %}
{% endif %}
ForwardToSyslog={{ journald_forward_to_syslog | bool | ternary("yes", "no") }}

0 comments on commit 09e17a1

Please sign in to comment.