14 lines
416 B
INI
14 lines
416 B
INI
[Unit]
|
|
Description=Dropbear SSH Key Generator
|
|
Documentation=man:dropbearkey(8)
|
|
Before=dropbear.service
|
|
ConditionPathExists=!/etc/dropbear/dropbear_rsa_host_key
|
|
ConditionPathExists=!/etc/dropbear/dropbear_dss_host_key
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
|
|
ExecStart=/usr/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
|
|
RemainAfterExit=yes
|
|
|