[Bug 3272] sshd systemd service unit launch sshd too early at bootup
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Mar 6 10:30:49 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3272
--- Comment #2 from Olivier Langlois <olivier at trillion01.com> ---
Here is one last idea. Considering how vital sshd is to admin a
headless system, I think that it could be a good idea to never giveup
attempting to restart it... This could be done with this:
[Service]
ExecStart=/usr/bin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
StartLimitIntervalSec=0
RestartSec=20s
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list