From af40ed593c35415e2773b2f70c84c18ec8420075 Mon Sep 17 00:00:00 2001 From: Hristo Date: Sat, 27 Jan 2024 22:48:47 +0200 Subject: [PATCH] update service file paths --- README.md | 6 ++++-- rpi-mqtt-monitor.service | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d61bbfe..5560413 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,10 @@ The easiest way to track your Raspberry Pi or Ubuntu computer system health and ## What is new -* 2021-01-27: Added a binary sensor for github to monitor for new versions of the script -* 2021-01-27: Updated the sensors names not to include the device name as per home assistant guidelines +* 2024-01-27: Now you can run the script as a service (systemd) or as a cron job +* 2024-01-27: Support for command line arguments +* 2024-01-27: Added a binary sensor for github to monitor for new versions of the script +* 2024-01-27: Updated the sensors names not to include the device name as per home assistant guidelines * 2024-01-10: Added support for Raspberry Pi 5 fan speed monitoring (only works on Raspberry Pi 5 with stock fan) ## Installation diff --git a/rpi-mqtt-monitor.service b/rpi-mqtt-monitor.service index 10de815..a47061e 100644 --- a/rpi-mqtt-monitor.service +++ b/rpi-mqtt-monitor.service @@ -3,8 +3,8 @@ Description=RPI MQTT Monitor After=network.target [Service] -ExecStart=/home/masoko/git/rpi-mqtt-monitor/rpi_mon_env/bin/python /home/masoko/git/rpi-mqtt-monitor/src/rpi-cpu2mqtt.py --service -WorkingDirectory=/home/masoko/git/rpi-mqtt-monitor/ +ExecStart=/home/username/git/rpi-mqtt-monitor/rpi_mon_env/bin/python /home/username/git/rpi-mqtt-monitor/src/rpi-cpu2mqtt.py --service +WorkingDirectory=/home/username/git/rpi-mqtt-monitor/ StandardOutput=inherit StandardError=inherit Restart=always