Don't kill ssh connection on OOM (#2424)
By default systemd kills the service which causes an OOM. That make sense for a typical service, however, for SSH we don't want this behavior: The connection should continue, just the command which caused OOM should be killed.
This commit is contained in:
@@ -9,3 +9,4 @@ ExecStartPre=
|
||||
ExecStart=
|
||||
ExecStart=-/usr/sbin/dropbear -R -E -p 22222 -s
|
||||
KillMode=mixed
|
||||
OOMPolicy=continue
|
||||
|
||||
Reference in New Issue
Block a user