app-metrics/mysqld_exporter: Add ebuild with systemd service file.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
Manuel Friedli 2019-11-11 22:40:30 +01:00
parent bb5bbd9c63
commit 030a626826
9 changed files with 240 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# /etc/conf.d/mysqld_exporter
# PID file
#EXPORTER_PIDFILE="/run/${RC_SVCNAME}.pid"
# The termination timeout (start-stop-daemon parameter "retry") ensures
# that the service will be terminated within a given time (60 + 5 seconds
# per default) when you are stopping the service.
#EXPORTER_TERMTIMEOUT="TERM/60/KILL/5"
# User to run exporter as
#EXPORTER_USER="mysqld_exporter"
# User group to run exporter as
#EXPORTER_GROUP="mysqld_exporter"
# You can use this configuration option to pass additional options to the
# start-stop-daemon, see start-stop-daemon(8) for more details.
# Per default we wait 1000ms after we have started the service to ensure
# that the daemon is really up and running.
#EXPORTER_SSDARGS="--wait 1000"
# Exporter flags
# See `mysqld_exporter --help` for more details
EXPORTER_FLAGS="-log.level=info"
#EXPORTER_FLAGS="${EXPORTER_FLAGS} -yourAdditionalFlag"