Do not pass the parameter that sets the port, we use the default.

This commit is contained in:
Andrea Dell'Amico 2020-07-30 16:02:07 +02:00
parent 19daa6b326
commit d7dcdcdf6c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ prometheus_n_e_install: True
prometheus_n_e_version: 1.0.1
prometheus_n_e_port: 9100
prometheus_n_e_loglevel: info
prometheus_n_e_opts: '--web.listen-address=":{{ prometheus_n_e_port }}" --log.level={{ prometheus_n_e_loglevel }}'
prometheus_n_e_opts: '--log.level={{ prometheus_n_e_loglevel }}'
# List the additional options here
prometheus_n_e_additional_opts: ''

View File

@ -9,7 +9,7 @@ Restart=on-failure
User={{ prometheus_n_e_user }}
Group={{ prometheus_n_e_user }}
ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_additional_opts }} --collector.systemd
ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_additional_opts }} --collector.systemd
[Install]
WantedBy=multi-user.target