~ubuntu-branches/ubuntu/trusty/rsyslog/trusty

Viewing all changes in revision 36.1.8.

  • Committer: Scott Moser
  • Date: 2011-06-17 20:26:44 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: smoser@ubuntu.com-20110617202644-7ok9k5zpu084f1hd
debian/rsyslog.logrotate: Use reload command to restart rsyslog

I'm reverting the previous commit.  There is more discussion in
ubuntu-devel as to why.  But the short of it is that we can't
drop this delta from debian.  The debian log rotate files had:
                invoke-rc.d rsyslog rotate > /dev/null
*not*
                invoke-rc.d rsyslog reload > /dev/null

We want to HUP the rsyslog server, and using the debian line would fail 
with upstart (there is no 'rotate' option to upstart).  So, we need a delta
from debian here.

Thus:
                reload rsyslog >/dev/null 2>&1 || true

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: