Re: on reloading services from logrotate

2014-11-19 Thread Thorsten Glaser
On Tue, 18 Nov 2014, Helmut Grohne wrote: From this little exercise, it seems that it is not well understood in what way services should be signalled after log rotation. In particular, it seems to me that service and invoke-rc.d should not be both valid. So I’ve experimented a bit with this

on reloading services from logrotate

2014-11-18 Thread Helmut Grohne
On Tue, Nov 18, 2014 at 09:25:44AM +, Simon McVittie wrote: There are (at least) three things that start services (i.e. init scripts, systemd units or Upstart jobs): * invoke-rc.d, intended to be called from maintainer scripts * service, intended to be called by the sysadmin * the

Re: on reloading services from logrotate

2014-11-18 Thread Russ Allbery
Helmut Grohne hel...@subdivi.de writes: There is a fourth one that restarts/reloads services: logrotate Please excuse a little excursion into the inhomogeneity of signalling services from logrotate. I did a little bit of research and came up with the following numbers (sid i386+all main):

Re: on reloading services from logrotate

2014-11-18 Thread Andrey Rahmatullin
On Tue, Nov 18, 2014 at 03:07:02PM -0800, Russ Allbery wrote: Please excuse a little excursion into the inhomogeneity of signalling services from logrotate. I did a little bit of research and came up with the following numbers (sid i386+all main): - 360 packages shipping logrotate files

Re: on reloading services from logrotate

2014-11-18 Thread Steve Langasek
On Tue, Nov 18, 2014 at 11:41:09PM +0100, Helmut Grohne wrote: On Tue, Nov 18, 2014 at 09:25:44AM +, Simon McVittie wrote: There are (at least) three things that start services (i.e. init scripts, systemd units or Upstart jobs): * invoke-rc.d, intended to be called from maintainer