blob: d65086fc8a37bc6e3addae1e398a5dae3d366873 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001[Unit]
2Description=OpenSSH Key Generation
3ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
4ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
5ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
6ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
7
8[Service]
9ExecStart=@BINDIR@/ssh-keygen -A
10Type=oneshot
11RemainAfterExit=yes