diff options
Diffstat (limited to 'systemd/inverter_mqtt_sender.service')
-rw-r--r-- | systemd/inverter_mqtt_sender.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/inverter_mqtt_sender.service b/systemd/inverter_mqtt_sender.service new file mode 100644 index 0000000..e3925f6 --- /dev/null +++ b/systemd/inverter_mqtt_sender.service @@ -0,0 +1,13 @@ +[Unit] +Description=Inverter MQTT sender +After=inverterd.service + +[Service] +User=user +Group=user +Restart=on-failure +ExecStart=/home/user/homekit/src/inverter_mqtt_sender.py +WorkingDirectory=/home/user + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |