Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
14 lines
427 B
Desktop File
14 lines
427 B
Desktop File
[Unit]
|
|
Description=SSH Key Generation
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/ssh-keygen -A
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|