Skip to content

Commit

Permalink
Merge pull request #427 from lukebigum/master
Browse files Browse the repository at this point in the history
Fix duplicate command line options in SysV script
  • Loading branch information
bastelfreak authored Feb 17, 2020
2 parents 3f171fe + 57d9f19 commit 2c022fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/prometheus.sysv.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ start() {
daemon --user=<%= scope.lookupvar('prometheus::server::user') %> \
--pidfile="$PID_FILE" \
"$DAEMON" <%= @daemon_flags.join(" \\\n ") %> \
<%= scope.lookupvar('prometheus::server::extra_options') %> >> "$LOG_FILE" &
>> "$LOG_FILE" &
retcode=$?
mkpidfile
touch /var/lock/subsys/prometheus
Expand Down

0 comments on commit 2c022fd

Please sign in to comment.