Files
operating-system/buildroot-external/rootfs-overlay/etc/systemd/system/dropbear.service.d/hassos.conf
Stefan Agner ab19c8c6cf Improve dropbear.service to avoid failed state after stop (#1286)
So far the exit code has been evaluated, which seems to be non-zero even
with a regular term signal. With that systemd assumed the service is in
a failed state, when in fact this seems the regular behavior of dropbear
when shutting it down.
2021-03-24 19:13:43 +01:00

12 lines
226 B
Plaintext

[Unit]
RequiresMountsFor=/etc/dropbear
ConditionFileNotEmpty=/root/.ssh/authorized_keys
[Service]
Type=forking
PIDFile=/run/dropbear.pid
ExecStartPre=
ExecStart=
ExecStart=-/usr/sbin/dropbear -R -E -p 22222 -s
KillMode=mixed