[OpenWrt Wiki] 怎样写一个基于procd的init脚本?
https://openwrt.org/zh-cn/inbox/procd-init-scripts19.01.2015 · start_service() { procd_open_instance procd_set_param command /sbin/your_service_daemon -b -a --foo procd_set_param respawn # respawn automatically if something died, be careful if you have an alternative process supervisor procd_set_param env SOME_VARIABLE=funtimes # pass environment variables to your process procd_set_param …