summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn <63875204+cuongdt1994@users.noreply.github.com>2023-06-10 12:43:59 +0700
committerGitHub <noreply@github.com>2023-06-10 07:43:59 +0200
commita7ee793b4e1f038e9b0f0774f10c407fc36ec164 (patch)
tree4239677eeb74a63af80803f50c41c607401fe95e /src
parent8efd9aefd136c53649221d5d903dd2d8c05e7111 (diff)
downloadvyos-1x-a7ee793b4e1f038e9b0f0774f10c407fc36ec164.tar.gz
vyos-1x-a7ee793b4e1f038e9b0f0774f10c407fc36ec164.zip
dhcpv6-relay: T5277: service does not start on boot
Diffstat (limited to 'src')
-rw-r--r--src/systemd/isc-dhcp-relay6.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/isc-dhcp-relay6.service b/src/systemd/isc-dhcp-relay6.service
index 30037e013..a365ae4b3 100644
--- a/src/systemd/isc-dhcp-relay6.service
+++ b/src/systemd/isc-dhcp-relay6.service
@@ -5,7 +5,7 @@ Wants=network-online.target
RequiresMountsFor=/run
ConditionPathExists=/run/dhcp-relay/dhcrelay6.conf
After=vyos-router.service
-
+StartLimitIntervalSec=0
[Service]
Type=forking
WorkingDirectory=/run/dhcp-relay
@@ -15,6 +15,6 @@ EnvironmentFile=/run/dhcp-relay/dhcrelay6.conf
PIDFile=/run/dhcp-relay/dhcrelay6.pid
ExecStart=/usr/sbin/dhcrelay -6 -pf /run/dhcp-relay/dhcrelay6.pid $OPTIONS
Restart=always
-
+RestartSec=10
[Install]
WantedBy=multi-user.target