service: close instance pipe fd on restart.
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 14 Jun 2015 04:14:47 +0000 (12:14 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 14 Jun 2015 16:30:59 +0000 (18:30 +0200)
Otherwise we hit max number of fd limit (1024) and instances fail to
start with the following errors in syslog

    Sun Jun 14 01:27:38 2015 daemon.warn procd: pipe() failed: 24 (Too many open files)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

No differences found