[LEDE-DEV] procd & custom reload support

Jo-Philipp Wich jo at mein.io
Fri Jan 13 03:20:04 PST 2017


Hi Rafał,

> What I'd like to achieve is procd monitoring /etc/foo.conf and calling
> my custom reload function if there is a real need to reload service.
> 
> Is that possible with procd?

Yes. This facility was recently introduced with

https://git.lede-project.org/?p=project/procd.git;a=commitdiff;h=f800ecf860addd4fc7f1acde76a9adbd4b1f50e7

and

https://git.lede-project.org/?p=source.git;a=commitdiff;h=b22a20af450b19fb47235e684afcddb301221def

To enable it, add "procd_set_param reload_signal 10" to your init script.

~ Jo



More information about the Lede-dev mailing list