* Bastian Bittorf <[email protected]> [22.11.2013 08:50]:
> and often we see an 'error' on log, but the daemon runs fine.
> when checking what service_check() does, i can see that it calls:
> 
> start-stop-daemon -K -t -- "/usr/sbin/olsrd"

i read my debugging wrong, and it really calls:

start-stop-daemon -q -K -t -p /var/run/olsrd.pid -x /usr/sbin/olsrd

which is also working on commandline. but this call fails sometimes.
so it is a chicken-egg-problem maybe because the pidfile does not exist yet?
is the usage of service() deprecated? it is commented out e.g. in init of 
uhttpd.

bye, bastian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to