summaryrefslogtreecommitdiff
path: root/systemd/inverter_bot.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/inverter_bot.service')
-rw-r--r--systemd/inverter_bot.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/inverter_bot.service b/systemd/inverter_bot.service
new file mode 100644
index 0000000..96612ae
--- /dev/null
+++ b/systemd/inverter_bot.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=InfiniSolar V 5KW Inverter Telegram Bot
+After=inverterd.service
+
+[Service]
+User=user
+Group=user
+Restart=on-failure
+ExecStart=/home/user/homekit/src/inverter_bot.py
+WorkingDirectory=/home/user
+
+[Install]
+WantedBy=multi-user.target