blob: 409192448dfc0397b2601ee621ab68978785d372 [file] [log] [blame]
Andrew Jeffery9836e2b2020-02-11 12:12:07 +10301[Unit]
2Description=Console Client on %i
3Wants=dropbearkey.service
4After=dropbearkey.service
5
6[Service]
7# Unit defaults to a templated service
8Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
9EnvironmentFile=/etc/default/dropbear
10EnvironmentFile=-/etc/default/obmc-console-client
Andrew Geissler467d3012021-11-04 08:06:09 -050011ExecStart=/usr/sbin/dropbear -K 5 -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key -c "/usr/bin/obmc-console-client -c /etc/obmc-console/client.%i.conf" -p %i -F $DROPBEAR_EXTRA_ARGS
Andrew Jeffery9836e2b2020-02-11 12:12:07 +103012SyslogIdentifier=console-client-%i
13ExecReload=/bin/kill -HUP $MAINPID
14KillMode=process
15
16[Install]
17WantedBy=default.target