linuxdeploy-cli
linuxdeploy-cli copied to clipboard
process running check is unreliable
trafficstars
only the PID is checked, the PID may have been reused, I'm frequently finding SSH doesn't get started because this.
SSH use pid files, see https://github.com/meefik/linuxdeploy-cli/blob/fed80bf890e89ee2be68bb4a2b6e791ad21abe91/include/extra/ssh/deploy.sh#L71
A pid file is not reliable. PIDs are eventually reused.