daemon-util: provide rotate_logs and rotate_all_logs actions
authorApollon Oikonomopoulos <apoikos@gmail.com>
Tue, 23 Jul 2013 14:21:31 +0000 (17:21 +0300)
committerGuido Trotter <ultrotter@google.com>
Tue, 23 Jul 2013 14:43:58 +0000 (16:43 +0200)
commitf99cbfbdfa1ead0f36930ebcd3891c8ae3597fe1
tree532a62bcf91f15470d29aaf5c5db80d6d589f63a
parent95c83fe6c38020edc23643d2a379af4d3f2b97f0
daemon-util: provide rotate_logs and rotate_all_logs actions

Modify daemon-util to allow sending SIGHUP to one or all daemons. This is meant
as a utility function to be used in logrotate definitions.

Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
daemons/daemon-util.in