diff options
author | Roy Yang <royyang@google.com> | 2021-04-26 12:50:42 -0700 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-04-26 16:22:33 -0400 |
commit | 28ae62f0ee4f0fc34987713043a036d581e4a3e8 (patch) | |
tree | 846388d045a16d90ceb97512e30b13c9ab2d4a7b /net-misc/openssh | |
parent | dev-libs/tinyxml: clean old version (diff) | |
download | gentoo-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.service | 1 |
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 |