[Unit]
Description=Respond to IPv6 Node Information Queries
Documentation=man:ninfod(8)
Requires=network.target
After=network.target

[Service]
ExecStart=/sbin/ninfod -d

AmbientCapabilities=CAP_NET_RAW
DynamicUser=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictNamespaces=yes
ProtectHostname=true
ProtectKernelLogs=true
SystemCallArchitectures=native
LockPersonality=yes

[Install]
WantedBy=multi-user.target
