diff options
| author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2025-09-23 15:23:55 +0200 |
|---|---|---|
| committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2025-09-23 19:55:17 +0200 |
| commit | cdf9fe4c9cfd4572c49207936c2304162e91e7b1 (patch) | |
| tree | 861c2f0a19574d9a40136111eb8b3af16788f320 /src/init | |
| parent | 868e45f86d39936ad04566e702ac95759b738149 (diff) | |
| download | vyos-1x-cdf9fe4c9cfd4572c49207936c2304162e91e7b1.tar.gz vyos-1x-cdf9fe4c9cfd4572c49207936c2304162e91e7b1.zip | |
kea: T7854: Use helper for Kea VRF systemd units
Diffstat (limited to 'src/init')
| -rwxr-xr-x | src/init/vyos-router | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router index 34c216cd6..5365a40f1 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -504,6 +504,18 @@ start () nfct helper add tns inet6 tcp nft --file /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules" + # Create needed kea directories + mkdir -p /var/run/kea /run/lock/kea + chmod 750 /var/run/kea /run/lock/kea + chown _kea:_kea /var/run/kea /run/lock/kea + if [ -d /opt/vyatta/etc/config ]; then + if [ ! -d /opt/vyatta/etc/config/dhcp ]; then + mkdir /opt/vyatta/etc/config/dhcp + chmod 750 /opt/vyatta/etc/config/dhcp + chown _kea:vyattacfg /opt/vyatta/etc/config/dhcp + fi + fi + # Ensure rsyslog is the default syslog daemon SYSTEMD_SYSLOG="/etc/systemd/system/syslog.service" SYSTEMD_RSYSLOG="/lib/systemd/system/rsyslog.service" |
