summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-16 08:32:41 +0000
committerJohn Crispin <john@openwrt.org>2015-09-16 08:32:41 +0000
commit251b58a0a544ee2d1378c358f5bef645ade98c25 (patch)
tree9f015a1917e5aaa334e271bb8e52d90dd14e1592 /package/network
parent9885e32521c2068552c727783d5d21974fab3b2b (diff)
downloadmtk-20170518-251b58a0a544ee2d1378c358f5bef645ade98c25.zip
mtk-20170518-251b58a0a544ee2d1378c358f5bef645ade98c25.tar.gz
mtk-20170518-251b58a0a544ee2d1378c358f5bef645ade98c25.tar.bz2
lldpd: add extra respawn params
Signed-off-by: Alexandru Ardelean <aa@ocedo.com> SVN-Revision: 46969
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/lldpd/files/lldpd.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index fca0ebf..278dbaf 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -65,6 +65,9 @@ start_service() {
# set auto respawn behavior
procd_set_param respawn
+ procd_append_param respawn 3600
+ procd_append_param respawn 5
+ procd_append_param respawn -1
procd_close_instance
}