blob: b420bcddcb11640644f31e6e03385c25f1351eac [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001[Unit]
2Description=SSH Per-Connection Server
3Wants=dropbearkey.service
4After=syslog.target dropbearkey.service
5
6[Service]
Patrick Williamsf1e5d692016-03-30 15:21:19 -05007Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008EnvironmentFile=-/etc/default/dropbear
Patrick Williamsf1e5d692016-03-30 15:21:19 -05009ExecStart=-@SBINDIR@/dropbear -i -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key $DROPBEAR_EXTRA_ARGS
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
11StandardInput=socket
12KillMode=process