summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-19 21:47:52 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-19 21:47:52 +0200
commitbe68f60ad4b4fcfbcf5e51808b8fc478f84386ad (patch)
tree26c77a10c84b0b0a5ecfd249a7430afa5294b77d /src/systemd
parentdf1096e271e0e110bf3a39ffda4785f2e8a0e23f (diff)
downloadvyos-1x-be68f60ad4b4fcfbcf5e51808b8fc478f84386ad.tar.gz
vyos-1x-be68f60ad4b4fcfbcf5e51808b8fc478f84386ad.zip
dhcpv6-pd: T421: fix unknown lvalue 'StartLimitIntervalSec' warning
StartLimitIntervalSec is part of the [Unit] definition and not the [Service] definition [1]. This caused the following warning message: systemd[1]: /lib/systemd/system/dhcp6c@.service:12: Unknown lvalue 'StartLimitIntervalSec' in section 'Service', ignoring This error has been introduced via commit 992d356 ("dhcpv6-pd: T421: workaround for non existing interfaces"). [1]: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/dhcp6c@.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemd/dhcp6c@.service b/src/systemd/dhcp6c@.service
index e110eccc1..9a97ee261 100644
--- a/src/systemd/dhcp6c@.service
+++ b/src/systemd/dhcp6c@.service
@@ -3,15 +3,14 @@ Description=WIDE DHCPv6 client on %i
Documentation=man:dhcp6c(8) man:dhcp6c.conf(5)
ConditionPathExists=/run/dhcp6c/dhcp6c.%i.conf
After=vyos-router.service
+StartLimitIntervalSec=0
[Service]
WorkingDirectory=/run/dhcp6c
Type=forking
PIDFile=/run/dhcp6c/dhcp6c.%i.pid
ExecStart=/usr/sbin/dhcp6c -D -k /run/dhcp6c/dhcp6c.%i.sock -c /run/dhcp6c/dhcp6c.%i.conf -p /run/dhcp6c/dhcp6c.%i.pid %i
-
Restart=on-failure
-StartLimitIntervalSec=0
RestartSec=20
[Install]