blob: 697c2427113405a6a4e468cf9fa1d8f703b168b2 [file] [log] [blame]
[Unit]
Description=Phosphor Host Console SSH Per-Connection
Wants=obmc-console@ttyS1.service
[Service]
Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
EnvironmentFile=/etc/default/dropbear
ExecStart=/usr/sbin/dropbear -i -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key -c "/usr/bin/obmc-console-client -c /etc/obmc-console/server.ttyS1.conf" -p ttyS1 -F $DROPBEAR_EXTRA_ARGS
SyslogIdentifier=dropbear
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
KillMode=process