Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 1 | [Unit] |
Brad Bishop | f51b3a0 | 2016-08-25 22:41:39 -0400 | [diff] [blame^] | 2 | Description=Phosphor Host Console SSH Per-Connection |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 3 | Wants=obmc-console.service |
| 4 | |
| 5 | [Service] |
| 6 | Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear" |
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 7 | EnvironmentFile={envfiledir}/dropbear |
| 8 | ExecStart=-{sbindir}/dropbear -i -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key -c {bindir}/obmc-console-client $DROPBEAR_EXTRA_ARGS |
| 9 | ExecReload={base_bindir}/kill -HUP $MAINPID |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 10 | StandardInput=socket |
| 11 | KillMode=process |