diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-10-23 16:34:21 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-10-23 16:34:21 -0500 |
commit | ddeef2d47c9ce298809d5e8a81c4847840fb8c0b (patch) | |
tree | c96c20cb07d9f5eab7509cfd1881ea05b64000f7 | |
parent | 450cde3fbe417bcd1d846b64bc60f4633394b762 (diff) |
service file
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | write-influx.service | 12 |
2 files changed, 16 insertions, 0 deletions
@@ -4,6 +4,10 @@ documentation and source code for departmental mqtt server hosted at https://mosquitto.chem.wisc.edu +## operating system + +ubuntu 20.04 + ## mosquitto https://mosquitto.org/ 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 |