Skip to content

Commit

Permalink
Merge pull request #12575 from matusmarhefka/bootc_rsyslog_cron_logging
Browse files Browse the repository at this point in the history
Update rsyslog_cron_logging for bootable containers
  • Loading branch information
jan-cerny authored Nov 6, 2024
2 parents 6036e07 + 9c310a3 commit 98d3f2c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ if ! grep -s "^\s*cron\.\*\s*/var/log/cron$" /etc/rsyslog.conf /etc/rsyslog.d/*.
echo "cron.* /var/log/cron" >> /etc/rsyslog.d/cron.conf
fi

systemctl restart rsyslog.service
if {{{ bash_not_bootc_build() }}} ; then
systemctl restart rsyslog.service
fi

0 comments on commit 98d3f2c

Please sign in to comment.