> On 14/09/2014 17:37, Baptiste Jonglez wrote: > > On Sun, Sep 14, 2014 at 08:14:11AM -0400, Tristan Plumb wrote: > >> Currently procd enabled initscripts will restart on reload when > >> the command line changes, which works for many packages, but not > >> anything that keeps its configuration in a file, like dnsmasq. > > > > Wouldn't it be better to check whether the generated config file > > changed, and restart the daemon only if this is the case? > >
> a procd managed service can add a list of uci packages, netdev, files, > ... that if changed will trigger a restart. Could you expand on this some? How does a service request this? 'procd_add_reload_trigger' looks like it's for /etc/config/foo, but changes to those files do not appear to result in either reload or restart. 'procd_set_param file foo' doesn't appear to do anything either. > which specific package is causing issue ? In my setup, I've noticed this with dnsmasq and babeld. That is, that I needed to restart and instead of reload to get things to take effect. Everything else I run is configured by command line arguments. Tristan -- All original matter is hereby placed immediately under the public domain. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel