added netbird-watcher script
All checks were successful
Terraform / terraform (push) Successful in 7s

This commit is contained in:
Prox
2026-02-15 19:11:39 +02:00
parent ec0d96f6a0
commit ca546ff6d8
10 changed files with 803 additions and 275 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=NetBird Peer Renamer Watcher
After=network.target
[Service]
Type=simple
ExecStart=/opt/netbird-watcher/netbird_watcher.py --config /etc/netbird-watcher/config.json
Restart=always
RestartSec=10
# Security hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/netbird-watcher
PrivateTmp=true
[Install]
WantedBy=multi-user.target