diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-31 12:22:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-31 12:22:51 +0100 |
commit | d7a889ce352aac45558b4fedd0b3acec068feee7 (patch) | |
tree | 03e5ecd35aaf673fc22a3c6cbaa23301322112f9 /net-misc/openssh/files/sshd.service | |
parent | 175ebd93121e0747f868e95f4b542af43ad2a02f (diff) |
net-misc/openssh : import from gentoo, do not force newer linux-headers since we don't run glibc2.31 (https://bugs.gentoo.org/708224)
Diffstat (limited to 'net-misc/openssh/files/sshd.service')
-rw-r--r-- | net-misc/openssh/files/sshd.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/openssh/files/sshd.service b/net-misc/openssh/files/sshd.service new file mode 100644 index 00000000..b5e96b3a --- /dev/null +++ b/net-misc/openssh/files/sshd.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenSSH server daemon +After=syslog.target network.target auditd.service + +[Service] +ExecStartPre=/usr/bin/ssh-keygen -A +ExecStart=/usr/sbin/sshd -D -e +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |