Add a reload ... e.g.
> Is there a way to make logrotate configuration more rsyslog friendly?
>
> /var/log/myapp/logs/*.log {
> daily
> missingok
> rotate 7
> compress
> notifempty
> copytruncate
postrotate
/usr/bin/systemctl reload rsyslog.service > /dev/null
endscript
> }
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.