summaryrefslogtreecommitdiff
path: root/src/systemd/dropbearkey.service
blob: 770641c8bb947ce1023675a5ae6afad9856293fe (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Dropbear SSH Key Generation
ConditionPathExists=|!/etc/dropbear/dropbear_rsa_host_key

[Service]
ExecStart=/usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target