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 |
Vishwanatha Subbanna | 5f3a19b | 2016-10-01 11:34:42 -0500 | [diff] [blame] | 3 | Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 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 |
Brad Bishop | 530eb73 | 2016-08-30 14:14:24 -0400 | [diff] [blame] | 8 | ExecStart=-{sbindir}/dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c {bindir}/obmc-console-client $DROPBEAR_EXTRA_ARGS |
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 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 |