~ubuntu-branches/ubuntu/utopic/rsyslog/utopic

« back to all changes in this revision

Viewing changes to debian/rsyslog.logrotate

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-07-08 09:24:53 UTC
  • Revision ID: package-import@ubuntu.com-20140708092453-lzg4lwhi7y1tcr7w
Tags: 7.4.4-1ubuntu5
Use "service" command in rsyslog's postrotate, since naked "reload"
fails under non-upstart init. (LP: #1331891)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        delaycompress
8
8
        compress
9
9
        postrotate
10
 
                reload rsyslog >/dev/null 2>&1 || true
 
10
                service rsyslog reload >/dev/null 2>&1 || true
11
11
        endscript
12
12
}
13
13
 
32
32
        delaycompress
33
33
        sharedscripts
34
34
        postrotate
35
 
                reload rsyslog >/dev/null 2>&1 || true
 
35
                service rsyslog reload >/dev/null 2>&1 || true
36
36
        endscript
37
37
}