Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #5 from mer-packages/keygen-service
Make keygeneration start as early as possible and run paraller.
  • Loading branch information
saukko committed Mar 25, 2015
2 parents 8d209f5 + 2fc939f commit 24366e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpm/sshd-hostkeys
Expand Up @@ -11,6 +11,7 @@ make_key()
}

# make_key ssh_host_key rsa1
make_key ssh_host_rsa_key rsa
make_key ssh_host_rsa_key rsa&
make_key ssh_host_dsa_key dsa
wait

3 changes: 3 additions & 0 deletions rpm/sshd-keys.service
@@ -1,5 +1,8 @@
[Unit]
Description=Create sshd host keys
DefaultDependencies=no
After=local-fs.target
Conflicts=shutdown.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 24366e9

Please sign in to comment.