mirror of
http://galexander.org/git/simplesshd.git
synced 2025-02-06 04:10:55 +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:
parent
39705de36e
commit
cf84ff9379
@ -195,7 +195,7 @@ public class SimpleSSHDService extends Service {
|
|||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
stop_sshd();
|
stop_sshd();
|
||||||
sshd_pid = pid;
|
sshd_pid = pid;
|
||||||
sshd_when = System.currentTimeMillis();
|
sshd_when = 0;
|
||||||
sshd_duration = 0;
|
sshd_duration = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -184,6 +184,7 @@ regular <tt>rsa</tt> key for greatest compatibility.
|
|||||||
<h2>Change Log</h2>
|
<h2>Change Log</h2>
|
||||||
|
|
||||||
<ul>
|
<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.
|
<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
|
Fix finding support libraries. Fix colors again. Fix start-on-boot on
|
||||||
new Android. Update to dropbear 2019.78.
|
new Android. Update to dropbear 2019.78.
|
||||||
|
Loading…
Reference in New Issue
Block a user