diskimage-builder/diskimage_builder/elements/runtime-ssh-host-keys/init-scripts/systemd/ssh-keygen.service

12 lines
201 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenSSH Server Key Generation
Before=ssh.service
[Service]
ExecStart=/usr/local/sbin/runtime-ssh-host-keys.sh
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target