Skip to content

Commit

Permalink
ADHOC fix service-definition: repair compatibility
Browse files Browse the repository at this point in the history
repairing compatibility issue that is introduced by upstream changes

https://github.com/prometheus/node_exporter/releases

    BREAKING CHANGES:
    The flag library has been changed, all flags now require double-dashs. (-foo becomes --foo)
  • Loading branch information
Anton Boritskiy committed Jul 14, 2020
1 parent 657d679 commit 1c74b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/etc/systemd/system/node_exporter.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Restart=always
# Start the service, bound to localhost. It will be exposed by another service, such as NGINX or stunnel.
ExecStart=/usr/local/bin/node_exporter \
--collector.textfile.directory="{{ node_exporter_textfile_directory }}" \
-web.listen-address="127.0.0.1:9100" \
-collectors.enabled="{{ node_exporter_exporters | join(',') }}"
--web.listen-address="127.0.0.1:9100" \
--collectors.enabled="{{ node_exporter_exporters | join(',') }}"

[Install]

Expand Down

0 comments on commit 1c74b0f

Please sign in to comment.