Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
b6a142f706
|
@ -4,9 +4,14 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
User={{ prometheus_h_e_user }}
|
User={{ prometheus_h_e_user }}
|
||||||
Group={{ prometheus_h_e_user }}
|
Group={{ prometheus_h_e_user }}
|
||||||
|
|
||||||
ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }}
|
ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }}
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Alias=node_exporter.service
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,14 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
User={{ prometheus_n_e_user }}
|
User={{ prometheus_n_e_user }}
|
||||||
Group={{ 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
|
||||||
|
Alias=node_exporter.service
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue