Depend on wg0 for node exporter
This commit is contained in:
parent
e5d27bbeb0
commit
4ca3a20d18
|
@ -0,0 +1,2 @@
|
||||||
|
[Unit]
|
||||||
|
After=wg-quick@wg0.service
|
|
@ -10,3 +10,8 @@
|
||||||
regexp: '^ARGS='
|
regexp: '^ARGS='
|
||||||
line: ARGS="--web.listen-address=10.80.0.2:9100"
|
line: ARGS="--web.listen-address=10.80.0.2:9100"
|
||||||
notify: restart-node-exporter
|
notify: restart-node-exporter
|
||||||
|
|
||||||
|
- name: depend on wg0 for node exporter
|
||||||
|
copy:
|
||||||
|
dest: /etc/systemd/system/prometheus-node-exporter.service.d/override.conf
|
||||||
|
src: prometheus-node-exporter.service-override.conf
|
||||||
|
|
Reference in a new issue