summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-10-17 07:33:23 +0200
committerChristian Poessinger <christian@poessinger.com>2018-10-17 07:33:25 +0200
commitbdc9387450ff27981c7400b7f40b25275dbaa7cf (patch)
treecb7a7414d30824f5e7f9475575d9e9316824c40d
parent10e991744326e3d041250d842bc52ddda3c65ffb (diff)
downloadvyatta-cfg-bdc9387450ff27981c7400b7f40b25275dbaa7cf.tar.gz
vyatta-cfg-bdc9387450ff27981c7400b7f40b25275dbaa7cf.zip
T901: increase vyos-router startup timeout
With a lot of firewall zones and rules the startup of vyos-router could be aborted due to timeout on weak hardware (e.g. Intel ATOM D525). Increase the systemd timeout value from 5 to 20 minutes to give the vyos-service enough time to startup even on less powerful hardware.
-rw-r--r--debian/vyatta-cfg.vyos-router.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg.vyos-router.service b/debian/vyatta-cfg.vyos-router.service
index 9cc6f12..1e9580c 100644
--- a/debian/vyatta-cfg.vyos-router.service
+++ b/debian/vyatta-cfg.vyos-router.service
@@ -7,7 +7,7 @@ Before=systemd-user-sessions.service
[Service]
Type=simple
Restart=no
-TimeoutSec=5min
+TimeoutSec=20min
KillMode=process
RemainAfterExit=yes
ExecStart=/usr/libexec/vyos/init/vyos-router start