in package olsrd we use the call service_start /usr/sbin/olsrd -f "$OLSRD_CONFIG_FILE" -nofork service_check /usr/sbin/olsrd || logger "error"
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" and this failes! why? also on cmdline... if i read the doc, i looks like "-K" means "stop all matching processes." and "-t" is "Match only, exit with 0 if a process is found" is this really the correct call? wouldnt it be better to do something like 'pidof olsrd'? bye, bastian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel