Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | [Unit] |
2 | Description=OpenSSH Key Generation | ||||
3 | ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key | ||||
4 | ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key | ||||
5 | ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key | ||||
6 | ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key | ||||
7 | |||||
8 | [Service] | ||||
9 | ExecStart=@BINDIR@/ssh-keygen -A | ||||
10 | Type=oneshot | ||||
11 | RemainAfterExit=yes |