diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-08-08 09:10:59 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-08-08 09:14:04 +0200 |
commit | dc154eaae27ee058f7c6153df327bd46a540ce50 (patch) | |
tree | e206a2b54afeab7dbbf49ea2206961afe25d8f8c /app-admin/sshguard | |
parent | dev-util/debhelper: Version 12.3 (diff) | |
download | gentoo-dc154eaae27ee058f7c6153df327bd46a540ce50.tar.gz gentoo-dc154eaae27ee058f7c6153df327bd46a540ce50.tar.bz2 gentoo-dc154eaae27ee058f7c6153df327bd46a540ce50.zip |
app-admin/sshguard: Fix init.d script
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Fixes: https://bugs.gentoo.org/688820
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-admin/sshguard')
-rw-r--r-- | app-admin/sshguard/files/sshguard.initd-r2 (renamed from app-admin/sshguard/files/sshguard.initd-r1) | 5 | ||||
-rw-r--r-- | app-admin/sshguard/sshguard-2.4.0.ebuild | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app-admin/sshguard/files/sshguard.initd-r1 b/app-admin/sshguard/files/sshguard.initd-r2 index e7b5ca7428b3..4404566eb117 100644 --- a/app-admin/sshguard/files/sshguard.initd-r1 +++ b/app-admin/sshguard/files/sshguard.initd-r2 @@ -1,12 +1,11 @@ #!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command="/usr/sbin/sshguard" pidfile="${SSHGUARD_PIDFILE:-/var/run/${SVCNAME}.pid}" command_args="-i \"${pidfile}\" ${SSHGUARD_OPTS}" -command_background=1 -start_stop_daemon_args="--wait ${SSHGUARD_WAIT:-999} --interpreted --quiet" +start_stop_daemon_args="--background --wait ${SSHGUARD_WAIT:-999} --interpreted --quiet" depend() { after iptables diff --git a/app-admin/sshguard/sshguard-2.4.0.ebuild b/app-admin/sshguard/sshguard-2.4.0.ebuild index 2d18f329df56..8926537ef84c 100644 --- a/app-admin/sshguard/sshguard-2.4.0.ebuild +++ b/app-admin/sshguard/sshguard-2.4.0.ebuild @@ -32,7 +32,7 @@ PATCHES=( src_install() { default - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN} insinto /etc |