Record status and this boot’s logs
- Inspect the unit: `systemctl status your-vpn.service --no-pager -l`. Replace the example unit name with the actual one.
- Read this boot’s service log with `journalctl -b -u your-vpn.service --no-pager`; look for the first exit cause before the rate-limit message.
- Record the result, exit status, and restart count: `systemctl show your-vpn.service -p Result -p ExecMainStatus -p NRestarts`.
Check the rate-limit settings and earlier errors
Use `systemctl cat your-vpn.service` to inspect the unit and drop-ins, then look for `StartLimitIntervalSec=` and `StartLimitBurst=` in `[Unit]`. systemd applies the limit over a time window and a permitted number of starts. If logs show a missing file, permission error, occupied port, or certificate-read failure, fix that cause first instead of increasing the start count based only on the limit message.
Clear the failed state only after fixing the cause
`systemctl reset-failed your-vpn.service` only clears the failed/rate-limited state recorded by systemd; it does not repair why the process exited. After confirming the configuration, files, and dependencies are fixed, restart the service through your change procedure and inspect the new startup log and listening port. If it exits immediately again, return to the earliest error and continue diagnosis.