diff options
Diffstat (limited to 'net-misc/endlessh/files/endlessh.initd-r1')
-rw-r--r-- | net-misc/endlessh/files/endlessh.initd-r1 | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net-misc/endlessh/files/endlessh.initd-r1 b/net-misc/endlessh/files/endlessh.initd-r1 deleted file mode 100644 index ea8d830af439..000000000000 --- a/net-misc/endlessh/files/endlessh.initd-r1 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - after bootmisc - need localmount - use clock logger net -} - -description="Starts endlessh tarpit" - -command="/usr/bin/endlessh" -command_args="${ENDLESSH_ARGS}" -command_background="true" -extra_started_commands="dumpstats reload" -pidfile="/run/${RC_SVCNAME}.pid" - -dumpstats() { - ebegin "Dumping connection stats of ${RC_SVCNAME} to log" - start-stop-daemon --signal SIGUSR1 --pidfile "${pidfile}" - eend $? -} - -reload() { - ebegin "Reloading ${RC_SVCNAME} configuration" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} |