[OpenWrt-Devel] can netifd automatically restart a service?

Bastian Bittorf bittorf at bluebottle.com
Thu Jun 11 03:39:09 EDT 2015


* Nikos Mavrogiannopoulos <nmav at gnutls.org> [11.06.2015 09:35]:
> individual service). However, a way to reduce the impact would be for
> netifd to restart transmission if crashed. Can that be done already, or
> inittab is the only option?

you can convert the initscript for using 'procd'.
take as an example the file '/etc/init.d/log'.

you can just try:
# pidof logd
# killall logd
# sleep 10
# pidof logd

(the pid has changed)

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list