[LEDE-DEV] [procd] Using "procd_set_param file" on a directory

Baptiste Jonglez 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?

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170109/8935c912/attachment-0001.sig>


More information about the Lede-dev mailing list