service: add reload_signal property
authorJo-Philipp Wich <jo@mein.io>
Tue, 13 Dec 2016 16:27:13 +0000 (17:27 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 13 Dec 2016 16:51:20 +0000 (17:51 +0100)
commitf800ecf860addd4fc7f1acde76a9adbd4b1f50e7
tree08269877148ca53f88a62ad3b00233a98523da76
parent9cec4e6a94a6456bbb3deb14688c690217e4190c
service: add reload_signal property

Introduce a new optional property "reload_signal" which - if set - instructs
procd to not terminate and restart supervised processes upon changes, but to
send them a kill() signal instead.

This is useful for services which fully support native config reload upon
receipt of a signal.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
service/instance.c
service/instance.h