Jeremy Kerr | 2a9a9d7 | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 1 | [Unit] |
Brad Bishop | 8f6c2ca | 2016-08-25 22:41:39 -0400 | [diff] [blame] | 2 | Description=Phosphor Host Console SSH Per-Connection |
Vishwanatha Subbanna | e4bfd68 | 2016-10-01 11:34:42 -0500 | [diff] [blame] | 3 | Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service |
Jeremy Kerr | 2a9a9d7 | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 4 | |
| 5 | [Service] |
| 6 | Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear" |
Brad Bishop | fd1a57c | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 7 | EnvironmentFile={envfiledir}/dropbear |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 8 | ExecStart=-/usr/bin/env dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c "/usr/bin/env obmc-console-client" $DROPBEAR_EXTRA_ARGS |
| 9 | SyslogIdentifier=dropbear |
Brad Bishop | fd1a57c | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 10 | ExecReload={base_bindir}/kill -HUP $MAINPID |
Jeremy Kerr | 2a9a9d7 | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 11 | StandardInput=socket |
| 12 | KillMode=process |