Skip to content

Commit

Permalink
init/: Update openrc service file
Browse files Browse the repository at this point in the history
  • Loading branch information
klausman committed Jul 4, 2023
1 parent 0601de6 commit d007527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions init/nfprom.default
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
NFPROM_USER="prometheus"
NFPROM_LOG_FILE="/var/log/prometheus/nfprom.log"
NFPROM_ARGS="-ipv6=true -addr='localhost:9912'"
PROMETHEUS_USER=prometheus
NFPROM_ARGS="-jsonfile /var/spool/nfprom/stats.json"
2 changes: 1 addition & 1 deletion init/nfprom.openrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ command=/usr/sbin/nfprom
command_args="${NFPROM_ARGS}"
command_background="true"

start_stop_daemon_args="-u ${PROMETHEUS_USER} -1 ${NFPROM_LOG_FILE} -2 ${NFPROM_LOG_FILE} -- ${NFPROM_ARGS}"
start_stop_daemon_args="-1 ${NFPROM_LOG_FILE} -2 ${NFPROM_LOG_FILE} -- ${NFPROM_ARGS}"

0 comments on commit d007527

Please sign in to comment.