mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
16 lines
527 B
SYSTEMD
16 lines
527 B
SYSTEMD
|
[Unit]
|
||
|
Description=SSH Key Generation
|
||
|
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
|
||
|
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub
|
||
|
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
|