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

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to