Skip to content

Commit

Permalink
Include sample to define tibber2mqtt as a linux service
Browse files Browse the repository at this point in the history
  • Loading branch information
joehil committed Mar 2, 2024
1 parent 5c54d47 commit 9445839
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 290 deletions.
12 changes: 12 additions & 0 deletions service/tibber2mqtt.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Send data optained from tibber.com to MQTT server
After=network.target

[Service]
Type=simple
ExecStart=/path to tibber2mqtt/tibber2mqtt subPower
User=<user>
Restart=on-failure

[Install]
WantedBy=multi-user.target
Loading

0 comments on commit 9445839

Please sign in to comment.