summaryrefslogtreecommitdiffstats
path: root/tools/frr@.service.in
diff options
context:
space:
mode:
authoranlan_cs <anlan_cs@tom.com>2021-12-30 06:17:05 +0100
committeranlan_cs <anlan_cs@tom.com>2022-01-06 13:42:36 +0100
commitfc539216ceb43f114e39cb25b34e312c28ca08ae (patch)
treed692565b361097b753b024fb86eec3c06adff384 /tools/frr@.service.in
parentMerge pull request #10254 from ton31337/fix/typo (diff)
downloadfrr-fc539216ceb43f114e39cb25b34e312c28ca08ae.tar.xz
frr-fc539216ceb43f114e39cb25b34e312c28ca08ae.zip
build: add "--with-service-timeout" in configure.ac
On lower CPU with lots of static routes, it will cost more than 2 minutes. 2 minutes is the default timeout value, we can adjust it by configure: ./configure --with-service-timeout=<digit> Signed-off-by: anlan_cs <anlan_cs@tom.com>
Diffstat (limited to '')
-rw-r--r--tools/frr@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frr@.service.in b/tools/frr@.service.in
index 7b94a11f5..1cbef1b18 100644
--- a/tools/frr@.service.in
+++ b/tools/frr@.service.in
@@ -12,7 +12,7 @@ Type=forking
NotifyAccess=all
StartLimitInterval=3m
StartLimitBurst=3
-TimeoutSec=2m
+TimeoutSec=@TIMEOUT_MIN@m
WatchdogSec=60s
RestartSec=5
Restart=on-abnormal