aboutsummaryrefslogtreecommitdiff
path: root/write-influx.service
diff options
context:
space:
mode:
Diffstat (limited to 'write-influx.service')
-rw-r--r--write-influx.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/write-influx.service b/write-influx.service
new file mode 100644
index 0000000..aaed2b6
--- /dev/null
+++ b/write-influx.service
@@ -0,0 +1,12 @@
+
+[Unit]
+Description=write-influx
+
+[Service]
+Type=simple
+User=blaise
+ExecStart=<path-to-python-file>
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target