summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service
blob: 82ffe7919acede9b86747590ca0a54499ef0d7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Phosphor Host Console SSH Per-Connection
Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service

[Service]
Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
EnvironmentFile={envfiledir}/dropbear
ExecStart=-/usr/bin/env dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c "/usr/bin/env obmc-console-client" $DROPBEAR_EXTRA_ARGS
SyslogIdentifier=dropbear
ExecReload={base_bindir}/kill -HUP $MAINPID
StandardInput=socket
KillMode=process
OpenPOWER on IntegriCloud