summarylogtreecommitdiffstats
path: root/hpnsshdgenkeys.service
blob: 867163930bd9c2795de66f39b3f48a3b6401dd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=SSH-HPN Key Generation
ConditionPathExists=|!/etc/hpnssh/ssh_host_dsa_key
ConditionPathExists=|!/etc/hpnssh/ssh_host_dsa_key.pub
ConditionPathExists=|!/etc/hpnssh/ssh_host_ecdsa_key
ConditionPathExists=|!/etc/hpnssh/ssh_host_ecdsa_key.pub
ConditionPathExists=|!/etc/hpnssh/ssh_host_ed25519_key
ConditionPathExists=|!/etc/hpnssh/ssh_host_ed25519_key.pub
ConditionPathExists=|!/etc/hpnssh/ssh_host_rsa_key
ConditionPathExists=|!/etc/hpnssh/ssh_host_rsa_key.pub

[Service]
ExecStart=/usr/bin/hpnssh-keygen -A
Type=oneshot
RemainAfterExit=yes