commit: c50268ecc2480fe08f7d98bf04ef560c4a65e6d3 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Feb 8 16:48:15 2023 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Tue Mar 7 16:43:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50268ec
dev-db/influxdb: remove unused files Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/29490 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-db/influxdb/files/influxd.conf | 140 ----------------------------------- dev-db/influxdb/files/influxdb.rc | 34 --------- dev-db/influxdb/files/influxdb.rc-r1 | 45 ----------- 3 files changed, 219 deletions(-) diff --git a/dev-db/influxdb/files/influxd.conf b/dev-db/influxdb/files/influxd.conf deleted file mode 100644 index f98f63ae2a91..000000000000 --- a/dev-db/influxdb/files/influxd.conf +++ /dev/null @@ -1,140 +0,0 @@ -reporting-disabled = true -bind-address = "127.0.0.1:8088" - -[meta] - dir = "/var/lib/influxdb/meta" - retention-autocreate = true - logging-enabled = true - -[data] - dir = "/var/lib/influxdb/data" - index-version = "inmem" - wal-dir = "/var/lib/influxdb/wal" - wal-fsync-delay = "0s" - query-log-enabled = true - cache-max-memory-size = 1073741824 - cache-snapshot-memory-size = 26214400 - cache-snapshot-write-cold-duration = "10m0s" - compact-full-write-cold-duration = "4h0m0s" - max-series-per-database = 1000000 - max-values-per-tag = 100000 - max-concurrent-compactions = 0 - trace-logging-enabled = false - -[coordinator] - write-timeout = "10s" - max-concurrent-queries = 0 - query-timeout = "0s" - log-queries-after = "0s" - max-select-point = 0 - max-select-series = 0 - max-select-buckets = 0 - -[retention] - enabled = true - check-interval = "30m0s" - -[shard-precreation] - enabled = true - check-interval = "10m0s" - advance-period = "30m0s" - -[monitor] - store-enabled = true - store-database = "_internal" - store-interval = "10s" - -[subscriber] - enabled = true - http-timeout = "30s" - insecure-skip-verify = false - ca-certs = "" - write-concurrency = 40 - write-buffer-size = 1000 - -[http] - enabled = true - bind-address = ":8086" - auth-enabled = false - log-enabled = true - write-tracing = false - pprof-enabled = true - https-enabled = false - https-certificate = "/etc/ssl/influxdb.pem" - https-private-key = "" - max-row-limit = 0 - max-connection-limit = 0 - shared-secret = "" - realm = "InfluxDB" - unix-socket-enabled = false - bind-socket = "/var/run/influxdb.sock" - max-body-size = 25000000 - access-log-path = "" - -[logging] - format = "auto" - level = "info" - suppress-logo = false - -[ifql] - enabled = false - log-enabled = true - bind-address = ":8082" - -[[graphite]] - enabled = false - bind-address = ":2003" - database = "graphite" - retention-policy = "" - protocol = "tcp" - batch-size = 5000 - batch-pending = 10 - batch-timeout = "1s" - consistency-level = "one" - separator = "." - udp-read-buffer = 0 - -[[collectd]] - enabled = false - bind-address = ":25826" - database = "collectd" - retention-policy = "" - batch-size = 5000 - batch-pending = 10 - batch-timeout = "10s" - read-buffer = 0 - typesdb = "/usr/share/collectd/types.db" - security-level = "none" - auth-file = "/etc/collectd/auth_file" - parse-multivalue-plugin = "split" - -[[opentsdb]] - enabled = false - bind-address = ":4242" - database = "opentsdb" - retention-policy = "" - consistency-level = "one" - tls-enabled = false - certificate = "/etc/ssl/influxdb.pem" - batch-size = 1000 - batch-pending = 5 - batch-timeout = "1s" - log-point-errors = true - -[[udp]] - enabled = false - bind-address = ":8089" - database = "udp" - retention-policy = "" - batch-size = 5000 - batch-pending = 10 - read-buffer = 0 - batch-timeout = "1s" - precision = "" - -[continuous_queries] - log-enabled = true - enabled = true - query-stats-enabled = false - run-interval = "1s" - diff --git a/dev-db/influxdb/files/influxdb.rc b/dev-db/influxdb/files/influxdb.rc deleted file mode 100644 index 4d18def5e508..000000000000 --- a/dev-db/influxdb/files/influxdb.rc +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run - -config=/etc/influxdb/influxd.conf -pidfile=/var/run/influxd.pid -command=/usr/bin/influxd -command_args="-config ${config} -pidfile ${pidfile} ${influxd_opts}" -command_args="-config ${config} ${influxd_opts}" -command_background=yes -make_pidfile=yes -command_user="influxdb:influxdb" -retry=SIGTERM/30/SIGKILL/10 -wait=1000 - -# Logging -error_log="${error_log:-/var/log/influxdb/influxd.log}" -output_log="${output_log:-/dev/null}" - -# Max open files -rc_ulimit="-n 65536" - -start_pre() { - # Check if config file exist - if [ ! -r ${config} ]; then - eerror "config file ${config} doesn't exist" - return 1 - fi - if [ ! -f "$error_log" ]; then - mkdir -p "$(dirname $error_log)" - fi - if [ ! -f "$output_log" ]; then - mkdir -p "$(dirname $output_log)" - fi - return 0 -} diff --git a/dev-db/influxdb/files/influxdb.rc-r1 b/dev-db/influxdb/files/influxdb.rc-r1 deleted file mode 100644 index 7556a506784d..000000000000 --- a/dev-db/influxdb/files/influxdb.rc-r1 +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/openrc-run - -config="${config:-/etc/influxdb/influxdb.conf}" -pidfile=${pidfile:-/var/run/influxd.pid} -influxd_opts=${influxd_opts:-} - -supervisor="supervise-daemon" -command=/usr/bin/influxd -command_args="-config ${config} -pidfile ${pidfile} ${influxd_opts}" -command_user="influxdb:influxdb" - -retry=SIGTERM/30/SIGKILL/10 -wait=1000 - -# Logging -error_log="${error_log:-/var/log/influxdb/influxd.log}" -output_log="${output_log:-/dev/null}" - -# Max open files -rc_ulimit="-n 65536" - -start_pre() { - # Check if config file exist - if [ ! -r "${config}" ]; then - eerror "config file ${config} doesn't exist" - return 1 - fi - if [ -n "${error_log}" ] && [ ! -e "${error_log}" ]; then - checkpath -d -o "${command_user}" "$(dirname "${error_log}")" - fi - if [ -n "${output_log}" ] && [ ! -e "${output_log}" ]; then - checkpath -d -o "${command_user}" "$(dirname "${output_log}")" - fi - return 0 -} - -if [ -n "${INFLUXDB_HEALTHCHECK_URI}" ]; then - healthcheck_delay=300 - healthcheck_timer=60 - - healthcheck() { - command -v wget || return 0 - wget -Oq- "${INFLUXDB_HEALTHCHECK_URI}" - } -fi
