Skip to content

Instantly share code, notes, and snippets.

@moritzmhmk
Forked from johannrichard/homebridge
Last active January 1, 2017 15:36
Show Gist options
  • Save moritzmhmk/34e187b2ee52d976f0594f50f0ceb7d1 to your computer and use it in GitHub Desktop.
Save moritzmhmk/34e187b2ee52d976f0594f50f0ceb7d1 to your computer and use it in GitHub Desktop.
Systemd Service for homebridge (http://github.com/nfarina/homebridge)
[Unit]
Description=Node.js HomeKit Server
After=syslog.target network-online.target
[Service]
Type=simple
User=homebridge
ExecStart=/usr/bin/homebridge -U /etc/homebridge
Restart=on-failure
RestartSec=10
KillMode=process
[Install]
WantedBy=multi-user.target
@moritzmhmk
Copy link
Author

use homebridge.service.d for config instead of EnvironmentFile (see here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment