Created
August 27, 2018 13:54
Star
You must be signed in to star a gist
Homebridge autostart with systemd. Full dokumentation at https://pysselilivet.blogspot.com/2017/01/homebridge-autostart-with-systemd.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Node.js HomeKit Server | |
After=syslog.target network-online.target | |
[Service] | |
Type=simple | |
User=pi | |
# Could be /usr/local/bin/homebridge | |
ExecStart=/usr/bin/homebridge | |
Restart=on-failure | |
RestartSec=10 | |
KillMode=process | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Service file for systemd to autostart homebridge at boot or at failure. Full documentation at https://pysselilivet.blogspot.com/2017/01/homebridge-autostart-with-systemd.html
Setup for Homebridge is found here
https://pysselilivet.blogspot.com/2016/11/homekit-z-wave-telldus-live.html