[LEDE-DEV] [procd] Using "procd_set_param file" on a directory
baptiste at bitsofnetworks.org
Mon Jan 9 08:06:12 PST 2017
On Mon, Jan 09, 2017 at 04:58:23PM +0100, Baptiste Jonglez wrote:
> On Mon, Jan 09, 2017 at 04:36:25PM +0100, Felix Fietkau wrote:
> > It does not support passing a directory. You should do:
> > procd_set_param file /tmp/babeld.d/*.conf (without quotes)
> I wanted to avoid this solution if possible, because it does not handle
> file creation. However, that is not a major issue in my case, so I will
> use this solution. Thanks!
Actually, it seems that this method *does* support file creation: when
creating a new file /tmp/babeld.d/foo.conf and calling "/etc/init.d/babeld
reload", the process is restarted.
I don't understand how this is possible, is start_service() called each
time a reload is requested?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Lede-dev