# /etc/systemd/system/pqsniff.service — e.g. a Linux box on a switch mirror port. # Edit the interface, then: systemctl daemon-reload && systemctl enable --now pqsniff [Unit] Description=pqsniff: passive TLS/QUIC handshake logger After=network-online.target Wants=network-online.target [Service] ExecStart=/usr/local/bin/pqsniff -i eth0 -d /var/log/pqsniff Restart=always DynamicUser=yes LogsDirectory=pqsniff AmbientCapabilities=CAP_NET_RAW CapabilityBoundingSet=CAP_NET_RAW NoNewPrivileges=yes ProtectSystem=strict ProtectHome=yes PrivateTmp=yes MemoryMax=64M [Install] WantedBy=multi-user.target