summaryrefslogtreecommitdiff
path: root/src/systemd/dropbear@.service
blob: acf926af922af6768fc81ae9435e6854688cb2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Dropbear SSH per-connection server
Requires=dropbearkey.service
Wants=conserver-server.service
ConditionPathExists=/run/conserver/conserver.cf
After=dropbearkey.service vyos-router.service conserver-server.service
StartLimitIntervalSec=0

[Service]
Type=forking
ExecStart=/usr/sbin/dropbear -w -j -k -r /etc/dropbear/dropbear_rsa_host_key -P /run/dropbear/dropbear.%I.pid -p %I
PIDFile=/run/dropbear/dropbear.%I.pid
KillMode=process
Restart=always
RestartSec=10
RuntimeDirectoryPreserve=yes