1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-13 18:58:57 +00:00

fix restart after a crash (it would not restart if there was a stale pid

file from the previous execution)
This commit is contained in:
Greg Alexander 2019-08-11 00:01:27 -04:00
parent 39705de36e
commit cf84ff9379
2 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public class SimpleSSHDService extends Service {
synchronized (lock) {
stop_sshd();
sshd_pid = pid;
sshd_when = System.currentTimeMillis();
sshd_when = 0;
sshd_duration = 0;
}
}

View File

@ -184,6 +184,7 @@ regular <tt>rsa</tt> key for greatest compatibility.
<h2>Change Log</h2>
<ul>
<li> <b>2019/08/11 Version 21:</b> Fix restarting after a crash.
<li> <b>2019/06/16 Version 20:</b> Update SDK. Support x86_64, arm64.
Fix finding support libraries. Fix colors again. Fix start-on-boot on
new Android. Update to dropbear 2019.78.