1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
[Unit] Description=netflow accounting daemon After=network.target [Service] ProtectSystem=full ProtectHome=true ProtectHostname=true ProtectKernelTunables=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true RestrictRealtime=true Type=forking ExecStart=/usr/sbin/nfacctd -f /etc/pmacctd/nfacctd.conf -i %I [Install] WantedBy=multi-user.target