[Unit] Description=TopLC VPN physical WAN one-second traffic sampler Documentation=file:/opt/toplc-vpn-host-traffic/README.md After=network-online.target Wants=network-online.target [Service] Type=simple User=root WorkingDirectory=/opt/toplc-vpn-host-traffic ExecStart=/usr/bin/python3 -B /opt/toplc-vpn-host-traffic/host_traffic_sampler.py --node-env /opt/toplc-vpn-node/node.env Restart=on-failure RestartSec=10 TimeoutStopSec=12 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ProtectKernelTunables=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX RestrictRealtime=true LockPersonality=true MemoryDenyWriteExecute=true CapabilityBoundingSet= AmbientCapabilities= SystemCallArchitectures=native UMask=0077 MemoryMax=64M TasksMax=8 CPUQuota=10% StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target