Files
Netbox-Store/host_agent/systemd/netbox-store-agent.service
T
MrBlake 541f107e1e
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
Add interactive NetBox host installer
2026-08-24 23:00:28 +02:00

30 lines
751 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
RuntimeDirectory=netbox-store-agent
RuntimeDirectoryMode=0755
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