summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-core/dropbear/dropbear/dropbear@.service
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-core/dropbear/dropbear/dropbear@.service')
-rw-r--r--poky/meta/recipes-core/dropbear/dropbear/dropbear@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/poky/meta/recipes-core/dropbear/dropbear/dropbear@.service b/poky/meta/recipes-core/dropbear/dropbear/dropbear@.service
new file mode 100644
index 0000000000..b420bcddcb
--- /dev/null
+++ b/poky/meta/recipes-core/dropbear/dropbear/dropbear@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=SSH Per-Connection Server
+Wants=dropbearkey.service
+After=syslog.target dropbearkey.service
+
+[Service]
+Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
+EnvironmentFile=-/etc/default/dropbear
+ExecStart=-@SBINDIR@/dropbear -i -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key $DROPBEAR_EXTRA_ARGS
+ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
+StandardInput=socket
+KillMode=process