Update postrotate script

Logs stopped streaming after log rotation as rsyslogd rotate is not
working. Updated postrotate script to restart rsyslog instead of
rotate.

Change-Id: Ie74b5bfa9a33553c4e3558e78a634d4d7463f16e
This commit is contained in:
Ravi Kumar Boyapati 2017-03-25 16:41:42 -04:00
parent 3edc8e144f
commit e17c2c0f2d
1 changed files with 1 additions and 1 deletions

View File

@ -21,4 +21,4 @@ rsyslog_client_distro_packages:
- rsyslog
- logrotate
rsyslog_client_reload: 'invoke-rc.d rsyslog rotate > /dev/null || true'
rsyslog_client_reload: 'systemctl restart rsyslog > /dev/null 2>&1 || true'