summaryrefslogtreecommitdiff
path: root/app-admin/sshguard/files/sshguard.initd-r1
blob: e7b5ca7428b3f30d2eca7e05b5f503e1ae407eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# 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"

depend() {
	after iptables
	use logger
}