| Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 1 | [Unit] | 
| 2 | Description=OBMC console SSH Per-Connection Server | ||||
| 3 | Wants=obmc-console.service | ||||
| 4 | |||||
| 5 | [Service] | ||||
| 6 | Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear" | ||||
| 7 | EnvironmentFile=-/etc/default/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 | ||||
| 10 | StandardInput=socket | ||||
| 11 | KillMode=process | ||||