From 0e96cf2c85702bb1fbe3db6ea251cde614a3df71 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 17 Nov 2014 21:54:24 -0200 Subject: openssh-knock: add new package to [pcr] --- pcr/openssh-knock/sshd.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pcr/openssh-knock/sshd.service (limited to 'pcr/openssh-knock/sshd.service') diff --git a/pcr/openssh-knock/sshd.service b/pcr/openssh-knock/sshd.service new file mode 100644 index 000000000..55ed95322 --- /dev/null +++ b/pcr/openssh-knock/sshd.service @@ -0,0 +1,17 @@ +[Unit] +Description=OpenSSH Daemon +Wants=sshdgenkeys.service +After=sshdgenkeys.service +After=network.target + +[Service] +ExecStart=/usr/bin/sshd -D +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=always + +[Install] +WantedBy=multi-user.target + +# This service file runs an SSH daemon that forks for each incoming connection. +# If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service. -- cgit v1.2.3