~ubuntu-branches/ubuntu/wily/smstools/wily-proposed

« back to all changes in this revision

Viewing changes to debian/logrotate

  • Committer: Package Import Robot
  • Author(s): Jonas Meurer
  • Date: 2015-04-27 20:45:40 UTC
  • Revision ID: package-import@ubuntu.com-20150427204540-c5bdnjw25og49n2q
Tags: 3.1.15-1.2
* NMU by Jonas Meurer to push the fix into Jessie.
* Fix initscript (debian/init.d):
  * drop action 'reload' as it does not what policy demands it to do. Use
    'force-reload' in logrotate post-rotate action. This fixes 'force-reload'
    action when used through systemd tools and prevents the smsd daemon
    process from being killed at every log rotation. (closes: #782996)
  * source /lib/lsb/init-functions in order to make systemd tools aware of
    status changes to the daemon that have been caused by invoking the
    initscript directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    compress
5
5
    missingok
6
6
    postrotate
7
 
        invoke-rc.d smstools reload > /dev/null
 
7
        invoke-rc.d smstools force-reload > /dev/null
8
8
    endscript
9
9
}