mirror of https://github.com/sfeakes/AqualinkD.git
30 lines
580 B
INI
30 lines
580 B
INI
#[Unit]
|
|
#Description=HomeBridge Service
|
|
#After=multi-user.target
|
|
#
|
|
#[Service]
|
|
#User=pi
|
|
#Type=idle
|
|
#ExecStart=/usr/bin/homebridge
|
|
#
|
|
#[Install]
|
|
#WantedBy=multi-user.target
|
|
#
|
|
[Unit]
|
|
Description=Node.js HomeKit Server
|
|
After=syslog.target network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=homebridge
|
|
EnvironmentFile=/etc/default/homebridge
|
|
# Adapt this to your specific setup (could be /usr/bin/homebridge)
|
|
# See comments below for more information
|
|
ExecStart=/usr/bin/homebridge $HOMEBRIDGE_OPTS
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|