blob: 198383ccb6e45682c63fedc2e1822acf43cc0e4a [file] [log] [blame]
Jeremy Kerred9fafd2016-04-12 13:10:12 +08001[Unit]
Brad Bishopf51b3a02016-08-25 22:41:39 -04002Description=Phosphor Host Console SSH Per-Connection
Jeremy Kerred9fafd2016-04-12 13:10:12 +08003Wants=obmc-console.service
4
5[Service]
6Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
Brad Bishopc2e93ce2016-08-25 22:36:30 -04007EnvironmentFile={envfiledir}/dropbear
Brad Bishop530eb732016-08-30 14:14:24 -04008ExecStart=-{sbindir}/dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c {bindir}/obmc-console-client $DROPBEAR_EXTRA_ARGS
Brad Bishopc2e93ce2016-08-25 22:36:30 -04009ExecReload={base_bindir}/kill -HUP $MAINPID
Jeremy Kerred9fafd2016-04-12 13:10:12 +080010StandardInput=socket
11KillMode=process