mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
OpenRC's default stop escalates after a few seconds; the service stops its core and removes the transparent-proxy rules on SIGTERM, so it gets 30 s before KILL. stop_post kills a core the service could not stop (it had been killed), which would otherwise keep the inbound ports and fail the next start. The log and config directories are created with checkpath, the service is ordered after the firewall units, and the per-user script creates its config directory the same way.