From: Michael Prokop Date: Fri, 7 Oct 2022 10:44:04 +0000 (+0200) Subject: ssh.service: fix ssh-keygen usage X-Git-Tag: v0.41.1~5 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=8d93bbb7c5fdcf57f8d797032b199ad99e63ec73 ssh.service: fix ssh-keygen usage Otherwise systemd fails with: | ssh.service: Executable /usr/bin/ssh-keygen -A missing, skipping: No such file or directory Fixup for git rev 6d869c1 --- diff --git a/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE b/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE index 7b2c141..3a6729e 100644 --- a/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE +++ b/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE @@ -7,7 +7,7 @@ ConditionPathExists=!/etc/ssh/sshd_not_to_be_run [Service] EnvironmentFile=-/etc/default/ssh -ExecStartPre=-"/usr/bin/ssh-keygen -A" +ExecStartPre=-/usr/bin/ssh-keygen -A ExecStart=/usr/sbin/sshd -D $SSHD_OPTS ExecReload=/usr/sbin/sshd -t ExecReload=/bin/kill -HUP $MAINPID