src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/rpi-client/handlers
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-13 10:10:07 -0500
committerLuke Hoersten <[email protected]>2020-05-13 10:10:07 -0500
commit2eaa8b2abf99911340b2a426044d016a1fd6a514 (patch)
tree7386088f94cf56bc314487bff7b3712218bdb7e9 /prometheus/rpi-client/handlers
parent2053a218439b0afb8aa06947a3ad88572dfd9107 (diff)
Fixed gpu collector on rpi.
Diffstat (limited to 'prometheus/rpi-client/handlers')
-rw-r--r--prometheus/rpi-client/handlers/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/prometheus/rpi-client/handlers/main.yaml b/prometheus/rpi-client/handlers/main.yaml
new file mode 100644
index 0000000..7740ce7
--- /dev/null
+++ b/prometheus/rpi-client/handlers/main.yaml
@@ -0,0 +1,5 @@
+---
+
+- name: restart rpi_exporter
+ systemd: name="rpi_exporter.service" state="restarted" daemon_reload="yes"
+ become: yes