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 |
||
|---|---|---|
| .. | ||
| access | ||
| cliutil | ||
| flags | ||
| proxydns | ||
| tail | ||
| tunnel | ||
| updater | ||
| app_forward_service.go | ||
| app_service.go | ||
| common_service.go | ||
| generic_service.go | ||
| linux_service.go | ||
| macos_service.go | ||
| main.go | ||
| service_template.go | ||
| windows_service.go | ||