mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
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:
parent
689089a949
commit
a8f6f7aa43
@ -9,3 +9,4 @@ ExecStartPre=
|
|||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=-/usr/sbin/dropbear -R -E -p 22222 -s
|
ExecStart=-/usr/sbin/dropbear -R -E -p 22222 -s
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
|
OOMPolicy=continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user