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