blob: 82ffe7919acede9b86747590ca0a54499ef0d7f6 [file] [log] [blame]
Jeremy Kerr2a9a9d72016-04-12 13:10:12 +08001[Unit]
Brad Bishop8f6c2ca2016-08-25 22:41:39 -04002Description=Phosphor Host Console SSH Per-Connection
Vishwanatha Subbannae4bfd682016-10-01 11:34:42 -05003Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service
Jeremy Kerr2a9a9d72016-04-12 13:10:12 +08004
5[Service]
6Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
Brad Bishopfd1a57c2016-08-25 22:36:30 -04007EnvironmentFile={envfiledir}/dropbear
Michael Tritz0ad3b1d2017-08-15 14:07:23 -05008ExecStart=-/usr/bin/env dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c "/usr/bin/env obmc-console-client" $DROPBEAR_EXTRA_ARGS
9SyslogIdentifier=dropbear
Brad Bishopfd1a57c2016-08-25 22:36:30 -040010ExecReload={base_bindir}/kill -HUP $MAINPID
Jeremy Kerr2a9a9d72016-04-12 13:10:12 +080011StandardInput=socket
12KillMode=process