diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-05 09:02:59 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-08-05 09:28:35 +0200 |
commit | 8a15595e1ac3d9e3e15f40f8b2256768f8d71f0c (patch) | |
tree | 2ecb45cd5ab98423ad534c415e2703e09f96c468 /src | |
parent | 6fbce6b6fe495268f896f95fea1a0837367c664a (diff) | |
download | vyos-1x-8a15595e1ac3d9e3e15f40f8b2256768f8d71f0c.tar.gz vyos-1x-8a15595e1ac3d9e3e15f40f8b2256768f8d71f0c.zip |
dhcpv6: T5428: client renewal fails when running inside VRF
Diffstat (limited to 'src')
-rw-r--r-- | src/systemd/dhcp6c@.service | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/systemd/dhcp6c@.service b/src/systemd/dhcp6c@.service index 495cb7e26..f634bd944 100644 --- a/src/systemd/dhcp6c@.service +++ b/src/systemd/dhcp6c@.service @@ -1,19 +1,19 @@ [Unit] Description=WIDE DHCPv6 client on %i Documentation=man:dhcp6c(8) man:dhcp6c.conf(5) -ConditionPathExists=/run/dhcp6c/dhcp6c.%i.conf -ConditionPathExists=/run/dhcp6c/dhcp6c.%i.options -After=vyos-router.service StartLimitIntervalSec=0 +After=vyos-router.service [Service] +Type=forking WorkingDirectory=/run/dhcp6c EnvironmentFile=-/run/dhcp6c/dhcp6c.%i.options -Type=forking PIDFile=/run/dhcp6c/dhcp6c.%i.pid ExecStart=/usr/sbin/dhcp6c $DHCP6C_OPTS -Restart=on-failure -RestartSec=20 +Restart=always +RestartPreventExitStatus= +RestartSec=10 +RuntimeDirectoryPreserve=yes [Install] WantedBy=multi-user.target |