1*9836e2b3SAndrew Jeffery[Unit] 2*9836e2b3SAndrew JefferyDescription=Console Client on %i 3*9836e2b3SAndrew JefferyWants=dropbearkey.service 4*9836e2b3SAndrew JefferyAfter=dropbearkey.service 5*9836e2b3SAndrew Jeffery 6*9836e2b3SAndrew Jeffery[Service] 7*9836e2b3SAndrew Jeffery# Unit defaults to a templated service 8*9836e2b3SAndrew JefferyEnvironment="DROPBEAR_RSAKEY_DIR=/etc/dropbear" 9*9836e2b3SAndrew JefferyEnvironmentFile=/etc/default/dropbear 10*9836e2b3SAndrew JefferyEnvironmentFile=-/etc/default/obmc-console-client 11*9836e2b3SAndrew JefferyExecStart=/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 12*9836e2b3SAndrew JefferySyslogIdentifier=console-client-%i 13*9836e2b3SAndrew JefferyExecReload=/bin/kill -HUP $MAINPID 14*9836e2b3SAndrew JefferyKillMode=process 15*9836e2b3SAndrew Jeffery 16*9836e2b3SAndrew Jeffery[Install] 17*9836e2b3SAndrew JefferyWantedBy=default.target 18