Skip to content

Instantly share code, notes, and snippets.

@jmbwell
Last active January 11, 2019 03:34
Show Gist options
  • Save jmbwell/473c17531a0c88d92f88e47068e72914 to your computer and use it in GitHub Desktop.
Save jmbwell/473c17531a0c88d92f88e47068e72914 to your computer and use it in GitHub Desktop.
systemd unit for starting homebridge on raspberry pi
[Unit]
Description=Homebridge
After=multi-user.target
[Service]
Type=Idle
ExecStart=/usr/bin/homebridge -U /root/.homebridge -D
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment