Files
gentoo/app-admin/sshguard/files/sshguard.initd-r2
Jeroen Roovers dc154eaae2 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>
2019-08-08 09:14:04 +02:00

14 lines
389 B
Plaintext

#!/sbin/openrc-run
# 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}"
start_stop_daemon_args="--background --wait ${SSHGUARD_WAIT:-999} --interpreted --quiet"
depend() {
after iptables
use logger
}