mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 13:46:41 +02:00
15 lines
428 B
Bash
15 lines
428 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="bind_exporter"
|
|
description="bind exporter for the prometheus monitoring system"
|
|
supervisor=supervise-daemon
|
|
command=/usr/bin/bind_exporter
|
|
command_args="$bind_exporter_args"
|
|
command_user="prometheus:prometheus"
|
|
|
|
start_pre() {
|
|
[ -n "$output_log" ] && checkpath -f "$output_log" \
|
|
-m 644 -o prometheus:prometheus
|
|
[ -n "$error_log" ] && checkpath -f "$error_log" \
|
|
-m 644 -o prometheus:prometheus
|
|
}
|