summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Yang <royyang@google.com>2021-04-26 12:50:42 -0700
committerMike Gilbert <floppym@gentoo.org>2021-04-26 16:22:33 -0400
commit28ae62f0ee4f0fc34987713043a036d581e4a3e8 (patch)
tree846388d045a16d90ceb97512e30b13c9ab2d4a7b /net-misc/openssh
parentdev-libs/tinyxml: clean old version (diff)
downloadgentoo-28ae62f0ee4f0fc34987713043a036d581e4a3e8.tar.gz
gentoo-28ae62f0ee4f0fc34987713043a036d581e4a3e8.tar.bz2
gentoo-28ae62f0ee4f0fc34987713043a036d581e4a3e8.zip
net-misc/openssh: Add KillMode=process to sshd.service
Closes: https://bugs.gentoo.org/785874 Closes: https://github.com/gentoo/gentoo/pull/20551 Signed-off-by: Roy Yang <royyang@google.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc/openssh')
-rw-r--r--net-misc/openssh/files/sshd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-misc/openssh/files/sshd.service b/net-misc/openssh/files/sshd.service
index b5e96b3a251f..6b4da9132fad 100644
--- a/net-misc/openssh/files/sshd.service
+++ b/net-misc/openssh/files/sshd.service
@@ -6,6 +6,7 @@ After=syslog.target network.target auditd.service
ExecStartPre=/usr/bin/ssh-keygen -A
ExecStart=/usr/sbin/sshd -D -e
ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
[Install]
WantedBy=multi-user.target