X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Fssh-bootoption.service%2FGRMLBASE;fp=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Fssh-bootoption.service%2FGRMLBASE;h=fafa20ff886c844f2af20ca12476b683459c91cd;hp=0000000000000000000000000000000000000000;hb=1aec7397965ee3164b455cfb763bcc936f65377e;hpb=178765abec24a66d9dc6959135f3b826ac80d47e diff --git a/etc/grml/fai/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE b/etc/grml/fai/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE new file mode 100644 index 0000000..fafa20f --- /dev/null +++ b/etc/grml/fai/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE @@ -0,0 +1,20 @@ +# This file was deployed via grml-live's +# ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/15-initsetup, using +# ${GRML_FAI_CONFIG}/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE + +[Unit] +Description=OpenBSD Secure Shell server +After=ssh-keygen network.target auditd.service +ConditionKernelCommandLine=ssh +ConditionPathExists=!/etc/ssh/sshd_not_to_be_run + +[Service] +EnvironmentFile=-/etc/default/ssh +ExecStart=/usr/sbin/sshd -D $SSHD_OPTS +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=on-failure + +[Install] +WantedBy=multi-user.target +Alias=sshd.service