Add --pidfile flag to the access tcp subcommand (also applies to rdp, ssh, and smb aliases). This writes the process ID to a file after startup and removes it on exit. Signal handling (SIGTERM/SIGINT) ensures the PID file is cleaned up when the process is killed, not just on graceful shutdown. Includes unit tests for writePidFile and removePidFile. Closes #723 |
||
|---|---|---|
| .. | ||
| carrier.go | ||
| carrier_test.go | ||
| cmd.go | ||
| validation.go | ||
| validation_test.go | ||