aboutsummaryrefslogtreecommitdiff
path: root/apks/prometheus-postgres-exporter/postgres-exporter.initd
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-20 18:10:26 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-20 18:10:26 +0200
commit7e49245fddcd16de615814781a3e52038ca219d9 (patch)
tree07e2fe3059f9a7b79abeee3fcde2cc387eda2077 /apks/prometheus-postgres-exporter/postgres-exporter.initd
parent9e9b54b503cea89b9c776c6eb65deef16682c1d2 (diff)
downloadapkbuilds-7e49245fddcd16de615814781a3e52038ca219d9.tar.gz
apkbuilds-7e49245fddcd16de615814781a3e52038ca219d9.tar.bz2
apkbuilds-7e49245fddcd16de615814781a3e52038ca219d9.zip
chore: Remove added package
Some package were added to the 3.18 and no longer need to be here.
Diffstat (limited to 'apks/prometheus-postgres-exporter/postgres-exporter.initd')
-rwxr-xr-xapks/prometheus-postgres-exporter/postgres-exporter.initd22
1 files changed, 0 insertions, 22 deletions
diff --git a/apks/prometheus-postgres-exporter/postgres-exporter.initd b/apks/prometheus-postgres-exporter/postgres-exporter.initd
deleted file mode 100755
index 8955c15..0000000
--- a/apks/prometheus-postgres-exporter/postgres-exporter.initd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-supervisor=supervise-daemon
-
-command="/usr/bin/postgres_exporter"
-command_args="$ARGS"
-command_background="yes"
-command_user="prometheus:prometheus"
-
-export DATA_SOURCE_NAME
-logdir="/var/log/prometheus"
-error_log="$logdir/${SVCNAME}.log"
-pidfile="/var/run/${SVCNAME}.pid"
-
-depend() {
- need net
- after firewall
-}
-
-start_pre() {
- checkpath -d -o $command_user -m755 $logdir
- checkpath -f -o $command_user -m644 $error_log
-}