blob: 9d16ccc199abd28bc83f3893cfea77d0ed0e1d41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
# Copyright 2023 Gentoo authors
# Distributed under the terms of the GNU General Public License v2
description="Prometheus nftables metrics exporter"
command="/usr/bin/nftables-exporter"
command_background="true"
error_log="/var/log/nftables-exporter/nftables-exporter.log"
output_log="/var/log/nftables-exporter/nftables-exporter.log"
pidfile=${pidfile:-"/run/nftables_exporter.pid"}
depend() {
after net
}
|