diff --git a/release_files/systemd/netbird-management.service b/release_files/systemd/netbird-management.service index 7fc0aa9ed41..d9e485c73b8 100644 --- a/release_files/systemd/netbird-management.service +++ b/release_files/systemd/netbird-management.service @@ -13,7 +13,7 @@ RestartSec=5 TimeoutStopSec=10 CacheDirectory=netbird ConfigurationDirectory=netbird -LogDirectory=netbird +LogsDirectory=netbird RuntimeDirectory=netbird StateDirectory=netbird diff --git a/release_files/systemd/netbird-signal.service b/release_files/systemd/netbird-signal.service index c7e775f4960..6333026eb87 100644 --- a/release_files/systemd/netbird-signal.service +++ b/release_files/systemd/netbird-signal.service @@ -13,7 +13,7 @@ RestartSec=5 TimeoutStopSec=10 CacheDirectory=netbird ConfigurationDirectory=netbird -LogDirectory=netbird +LogsDirectory=netbird RuntimeDirectory=netbird StateDirectory=netbird diff --git a/release_files/systemd/netbird@.service b/release_files/systemd/netbird@.service index 39e3b6b2355..095c3142dc4 100644 --- a/release_files/systemd/netbird@.service +++ b/release_files/systemd/netbird@.service @@ -13,7 +13,7 @@ RestartSec=5 TimeoutStopSec=10 CacheDirectory=netbird ConfigurationDirectory=netbird -LogDirectory=netbird +LogsDirectory=netbird RuntimeDirectory=netbird StateDirectory=netbird @@ -28,7 +28,8 @@ ProtectControlGroups=yes ProtectHome=yes ProtectHostname=yes ProtectKernelLogs=yes -ProtectKernelModules=no # needed to load wg module for kernel-mode WireGuard +# needed to load wg module for kernel-mode WireGuard +ProtectKernelModules=no ProtectKernelTunables=no ProtectSystem=yes RemoveIPC=yes