From a950059053f7394acfb453cc0d8194aa3dc721fa Mon Sep 17 00:00:00 2001 From: kumvijaya Date: Thu, 26 Sep 2024 11:31:07 +0530 Subject: T6732: added same as vyos 1x --- src/systemd/dhcp6c@.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/systemd/dhcp6c@.service (limited to 'src/systemd/dhcp6c@.service') diff --git a/src/systemd/dhcp6c@.service b/src/systemd/dhcp6c@.service new file mode 100644 index 0000000..f634bd9 --- /dev/null +++ b/src/systemd/dhcp6c@.service @@ -0,0 +1,19 @@ +[Unit] +Description=WIDE DHCPv6 client on %i +Documentation=man:dhcp6c(8) man:dhcp6c.conf(5) +StartLimitIntervalSec=0 +After=vyos-router.service + +[Service] +Type=forking +WorkingDirectory=/run/dhcp6c +EnvironmentFile=-/run/dhcp6c/dhcp6c.%i.options +PIDFile=/run/dhcp6c/dhcp6c.%i.pid +ExecStart=/usr/sbin/dhcp6c $DHCP6C_OPTS +Restart=always +RestartPreventExitStatus= +RestartSec=10 +RuntimeDirectoryPreserve=yes + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3