From 24b6ed9bc1ef1538b8f3e254b30b1006f5e4d78f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 2 Oct 2023 04:02:17 +0000 Subject: automatic import of openssh --- sshd.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sshd.service (limited to 'sshd.service') diff --git a/sshd.service b/sshd.service new file mode 100644 index 0000000..e8afb86 --- /dev/null +++ b/sshd.service @@ -0,0 +1,17 @@ +[Unit] +Description=OpenSSH server daemon +Documentation=man:sshd(8) man:sshd_config(5) +After=network.target sshd-keygen.target +Wants=sshd-keygen.target + +[Service] +Type=notify +EnvironmentFile=-/etc/sysconfig/sshd +ExecStart=/usr/sbin/sshd -D $OPTIONS +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=on-failure +RestartSec=42s + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3