blob: 7314756e5a44c3f7af2daebfbc9a5b978ebcd2f9 [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 Geisslerdc0eec82021-11-02 12:28:11 -050011ExecStart=/usr/sbin/dropbear -I 1800 -K 10 -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