Increase time for daemon's command being killed on stop

Strange but I can't find solution for this issue using search. The process seems to be forcefully killed (with -9?) if it does not stop within 3 seconds or so. The app requires some more time, and it would be great to increase this time to 10 seconds. How to do it?

		procd_open_instance
		procd_set_param command "${DIR}/$PROG"
		procd_set_param stdout 1
		procd_set_param stderr 1
		procd_set_param respawn 3600 1 0
		procd_close_instance

Thanks!

procd_set_param term_timeout 10

https://openwrt.org/docs/guide-developer/procd-init-scripts

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.