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.
12 lines
226 B
Plaintext
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
|