From fc539216ceb43f114e39cb25b34e312c28ca08ae Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Thu, 30 Dec 2021 00:17:05 -0500 Subject: 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= Signed-off-by: anlan_cs --- tools/frr@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/frr@.service.in') 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 -- cgit v1.2.3