summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-21 17:24:57 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-21 17:25:38 +0100
commitd5804b19d3ffecdd4fe6bd89d50ac84dabb549fd (patch)
tree905af99b024fac316412492b81947da28d6bb8ff /data
parentb0b03e21d24411c5a994d8e5c8009f39d9b6f639 (diff)
downloadvyos-1x-d5804b19d3ffecdd4fe6bd89d50ac84dabb549fd.tar.gz
vyos-1x-d5804b19d3ffecdd4fe6bd89d50ac84dabb549fd.zip
console-server: T2490: do not use cli-shell-api in systemd unit
Diffstat (limited to 'data')
-rw-r--r--data/templates/conserver/dropbear@.service.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/conserver/dropbear@.service.tmpl b/data/templates/conserver/dropbear@.service.tmpl
new file mode 100644
index 000000000..4bb73f751
--- /dev/null
+++ b/data/templates/conserver/dropbear@.service.tmpl
@@ -0,0 +1,4 @@
+[Service]
+ExecStart=
+ExecStart=/usr/sbin/dropbear -w -j -k -r /etc/dropbear/dropbear_rsa_host_key -c "/usr/bin/console {{ device }}" -P /run/conserver/dropbear.%I.pid -p %I
+PIDFile=/run/conserver/dropbear.%I.pid