[Unit] Description=Privileged NetBox Store host agent Requires=netbox-store-agent.socket After=network-online.target Wants=network-online.target [Service] Type=simple User=root Group=root ExecStart=/usr/local/bin/netbox-store-agent --config /etc/netbox-store-agent/agent.toml daemon StateDirectory=netbox-store-agent StateDirectoryMode=0700 RuntimeDirectory=netbox-store-agent RuntimeDirectoryMode=0750 UMask=0077 NoNewPrivileges=true PrivateTmp=true ProtectHome=true ProtectSystem=strict ReadWritePaths=/opt/netbox /var/lib/netbox-store-agent /run/netbox-store-agent /run/lock RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 LockPersonality=true SystemCallArchitectures=native Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target