diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-08-08 09:12:45 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-08-08 09:14:04 +0200 |
commit | 243010d354f8a4eb872f43120a0bd28c92c16ce4 (patch) | |
tree | 4680c669459de2f4ac9dc196f71e3117016c0a95 /app-admin/sshguard/files | |
parent | app-admin/sshguard: Fix init.d script (diff) | |
download | gentoo-243010d354f8a4eb872f43120a0bd28c92c16ce4.tar.gz gentoo-243010d354f8a4eb872f43120a0bd28c92c16ce4.tar.bz2 gentoo-243010d354f8a4eb872f43120a0bd28c92c16ce4.zip |
app-admin/sshguard: Old
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-admin/sshguard/files')
-rw-r--r-- | app-admin/sshguard/files/sshguard.initd | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app-admin/sshguard/files/sshguard.initd b/app-admin/sshguard/files/sshguard.initd deleted file mode 100644 index f1360ce8610b..000000000000 --- a/app-admin/sshguard/files/sshguard.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - after iptables - use logger -} - -SSHGUARD_PIDFILE=${SSHGUARD_PIDFILE:-/var/run/${SVCNAME}.pid} - -start() { - ebegin "Starting sshguard" - [ -z "${SSHGUARD_WAIT}" ] && SSHGUARD_WAIT=999 - start-stop-daemon --start --wait ${SSHGUARD_WAIT} --background --quiet --exec \ - /usr/sbin/sshguard -- -i ${SSHGUARD_PIDFILE} ${SSHGUARD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping sshguard" - start-stop-daemon --stop -p ${SSHGUARD_PIDFILE} - eend $? -} |