Merge branch 'master' of adellam/ansible-roles into master

This commit is contained in:
Andrea Dell'Amico 2019-06-05 19:04:11 +02:00 committed by Gitea
commit b6a142f706
2 changed files with 10 additions and 0 deletions

View File

@ -4,9 +4,14 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
User={{ prometheus_h_e_user }}
Group={{ prometheus_h_e_user }}
ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }}
[Install]
WantedBy=multi-user.target
Alias=node_exporter.service

View File

@ -4,9 +4,14 @@ After=network.target
[Service]
Type=simple
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
[Install]
WantedBy=multi-user.target
Alias=node_exporter.service