diff options
Diffstat (limited to 'app-admin/denyhosts/files/denyhosts.init-r2')
-rw-r--r-- | app-admin/denyhosts/files/denyhosts.init-r2 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-admin/denyhosts/files/denyhosts.init-r2 b/app-admin/denyhosts/files/denyhosts.init-r2 deleted file mode 100644 index 9b2f24cbf21e..000000000000 --- a/app-admin/denyhosts/files/denyhosts.init-r2 +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_stopped_commands="purge" - -purge() { - ebegin "Purging hosts.deny" - start-stop-daemon --start --exec /usr/bin/denyhosts.py --pidfile /var/run/denyhosts.pid -- --purge - eend $? -} - -depend() { - use logger sshd -} - -start() { - ebegin "Starting DenyHosts daemon" - start-stop-daemon --start --exec /usr/bin/denyhosts.py --pidfile /var/run/denyhosts.pid -- --daemon -c /etc/denyhosts.conf - eend $? -} - -stop() { - ebegin "Stopping DenyHosts daemon" - start-stop-daemon --quiet --stop --pidfile /var/run/denyhosts.pid - eend $? -} |