summaryrefslogtreecommitdiff
path: root/net-misc/endlessh/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-22 11:30:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-22 11:30:24 +0100
commitd56d144655e3785864da43c9acb6c228ef9360ae (patch)
treeb769b599a558483f82e9a057c41f1edd29626dd1 /net-misc/endlessh/files
parentfab849d1daed0ba7f2ac497d07985c3dbb692543 (diff)
gentoo resync : 22.06.2019
Diffstat (limited to 'net-misc/endlessh/files')
-rw-r--r--net-misc/endlessh/files/endlessh.confd22
-rwxr-xr-xnet-misc/endlessh/files/endlessh.initd22
-rw-r--r--net-misc/endlessh/files/logrotated7
3 files changed, 0 insertions, 51 deletions
diff --git a/net-misc/endlessh/files/endlessh.confd b/net-misc/endlessh/files/endlessh.confd
deleted file mode 100644
index a114889c8cac..000000000000
--- a/net-misc/endlessh/files/endlessh.confd
+++ /dev/null
@@ -1,22 +0,0 @@
-# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh
-#
-#ENDLESSH_ARGS=""
-#
-# -d INT Message millisecond delay [10000]
-# -f Set and load config file [/etc/endlessh/config]
-# -l INT Maximum banner line length (3-255) [32]
-# -m INT Maximum number of clients [4096]
-# -p INT Listening port [2222]
-# -v Print diagnostics to standard output (repeatable)
-
-# EXAMPLE: listen on port 22, log all queries and errors in very verbose mode
-
-#ENDLESSH_ARGS="-p 22 -vv"
-
-# plain file (preferred), change logrotate file as well if you change this.
-#output_log=/var/log/"${RC_SVCNAME}.log"
-#error_log=/var/log/"${RC_SVCNAME}.error.log"
-
-# syslog support via LOGGER(1). Note this spawns logger processes per io stream
-#output_logger="logger -p daemon.none --"
-#error_logger="logger -p daemon.err --"
diff --git a/net-misc/endlessh/files/endlessh.initd b/net-misc/endlessh/files/endlessh.initd
deleted file mode 100755
index a88fd9c34c90..000000000000
--- a/net-misc/endlessh/files/endlessh.initd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-description="Starts endlessh tarpit"
-
-command="/usr/bin/endlessh"
-command_args="${ENDLESSH_ARGS}"
-command_background="true"
-extra_started_commands="reload"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-reload() {
- ebegin "Reloading ${RC_SVCNAME} configuration"
- start-stop-daemon --exec $command --signal HUP
- eend $?
-}
diff --git a/net-misc/endlessh/files/logrotated b/net-misc/endlessh/files/logrotated
deleted file mode 100644
index 53c9efbfe873..000000000000
--- a/net-misc/endlessh/files/logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/endlessh.log /var/log/endlessh.error.log {
- missingok
- notifempty
- postrotate
- /etc/init.d/endlessh -q reload
- endscript
-}