Raspi-image-spec/rootfs/etc/systemd/system/rpi-generate-ssh-host-keys....

11 lines
224 B
SYSTEMD
Raw Permalink Normal View History

2017-10-08 21:18:48 +01:00
[Unit]
Description=generate SSH host keys
ConditionPathExistsGlob=!/etc/ssh/ssh_host_*_key
[Service]
Type=oneshot
ExecStart=/usr/sbin/dpkg-reconfigure -fnoninteractive openssh-server
[Install]
RequiredBy=multi-user.target