mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
13 lines
352 B
Desktop File
13 lines
352 B
Desktop File
[Unit]
|
|
Description=OpenBSD Secure Shell server Host Key Generation
|
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ecdsa_key
|
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ed25519_key
|
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_rsa_key
|
|
Before=ssh.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/sbin/ssh-generate-hostkeys
|
|
Type=oneshot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|