blob: 7d7f31490a6437e68341288f119c0a32173bfba4 [file] [log] [blame]
[Unit]
Description=Phosphor Host Console SSH Per-Connection
Wants=obmc-console@ttyS2.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.ttyS2.conf" -p ttyS2 -F $DROPBEAR_EXTRA_ARGS
SyslogIdentifier=dropbear
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
KillMode=process