1[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
11ExecStart=/usr/sbin/dropbear -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
12SyslogIdentifier=console-client-%i
13ExecReload=/bin/kill -HUP $MAINPID
14KillMode=process
15
16[Install]
17WantedBy=default.target
18