blob: 098dd55ea770025147d61cec3eb1a39377ae2fec [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"
Ninad Palsule533f9702023-03-09 10:05:40 -06009EnvironmentFile=/etc/obmc-console/dropbear.env
10EnvironmentFile=-/etc/obmc-console/dropbear.%i.env
Andrew Jeffery9836e2b2020-02-11 12:12:07 +103011EnvironmentFile=-/etc/default/obmc-console-client
Andrew Geissler467d3012021-11-04 08:06:09 -050012ExecStart=/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 +103013SyslogIdentifier=console-client-%i
14ExecReload=/bin/kill -HUP $MAINPID
15KillMode=process
16
17[Install]
18WantedBy=default.target