aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-16 08:32:41 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-16 08:32:41 +0000
commitdc1bcb1bbfa499d0e4f93ca22cf35c85c3d60499 (patch)
tree739971d054c6f7c0ed6bbb23e70d441050761fc3 /package/network
parent85aa424b0af53abe32a2b3567f2493adb1642a2e (diff)
downloadmaster-187ad058-dc1bcb1bbfa499d0e4f93ca22cf35c85c3d60499.tar.gz
master-187ad058-dc1bcb1bbfa499d0e4f93ca22cf35c85c3d60499.tar.bz2
master-187ad058-dc1bcb1bbfa499d0e4f93ca22cf35c85c3d60499.zip
lldpd: add extra respawn params
Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46969 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 fca0ebfcc7..278dbafb1e 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
}