linuxdeploy-cli icon indicating copy to clipboard operation
linuxdeploy-cli copied to clipboard

process running check is unreliable

Open Phoenix09 opened this issue 7 years ago • 2 comments
trafficstars

only the PID is checked, the PID may have been reused, I'm frequently finding SSH doesn't get started because this.

Phoenix09 avatar Nov 09 '18 14:11 Phoenix09

SSH use pid files, see https://github.com/meefik/linuxdeploy-cli/blob/fed80bf890e89ee2be68bb4a2b6e791ad21abe91/include/extra/ssh/deploy.sh#L71

meefik avatar Feb 23 '19 12:02 meefik

A pid file is not reliable. PIDs are eventually reused.

NHellFire avatar Feb 25 '19 02:02 NHellFire