Files
Netbox-Store/host_agent/systemd/netbox-store-agent.service
MrBlake eb6be0e5fa
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
Fix host agent socket activation
2026-08-24 23:13:10 +02:00

28 lines
689 B
Desktop File

[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=0711
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