blob: f964454e0bf6306b405cdc60d581e1164776e8a5 [file] [log] [blame]
Tung Nguyen189431e2020-12-16 08:11:51 +00001[Unit]
2Description=Phosphor Host Console SSH Per-Connection
3Wants=obmc-console@ttyS0.service
4
5[Service]
6Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
7EnvironmentFile=/etc/default/dropbear
8ExecStart=/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
9SyslogIdentifier=dropbear
10ExecReload=/bin/kill -HUP $MAINPID
11StandardInput=socket
12KillMode=process