From be68f60ad4b4fcfbcf5e51808b8fc478f84386ad Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 19 Jun 2020 21:47:52 +0200 Subject: 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 --- src/systemd/dhcp6c@.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/systemd') 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] -- cgit v1.2.3