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/obmc-console/dropbear.env 10EnvironmentFile=-/etc/obmc-console/dropbear.%i.env 11EnvironmentFile=-/etc/default/obmc-console-client 12ExecStart=/usr/sbin/dropbear -K 5 \ 13 -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key \ 14 -r ${DROPBEAR_RSAKEY_DIR}/dropbear_ecdsa_host_key \ 15 -r ${DROPBEAR_RSAKEY_DIR}/dropbear_ed25519_host_key \ 16 -c "/usr/bin/obmc-console-client -c /etc/obmc-console/client.%i.conf" \ 17 -p %i \ 18 -F $DROPBEAR_EXTRA_ARGS 19SyslogIdentifier=console-client-%i 20ExecReload=/bin/kill -HUP $MAINPID 21KillMode=process 22 23[Install] 24WantedBy=default.target 25