summarylogtreecommitdiffstats
path: root/homebridge-system.service
diff options
context:
space:
mode:
authorAidan Harris2017-11-30 19:36:10 +0000
committerAidan Harris2017-11-30 19:36:10 +0000
commit225d2e4ec1c17df6462434c14107134ce58a3823 (patch)
tree707349b99a8223bac4456ed4a24ec446427ff421 /homebridge-system.service
downloadaur-225d2e4ec1c17df6462434c14107134ce58a3823.tar.gz
Initial Commit
Diffstat (limited to 'homebridge-system.service')
-rw-r--r--homebridge-system.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/homebridge-system.service b/homebridge-system.service
new file mode 100644
index 00000000000..df41d0567bb
--- /dev/null
+++ b/homebridge-system.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Node.js HomeKit Server
+Requires=avahi-daemon.service
+After=network.target avahi-daemon.service
+
+[Service]
+User=homebridge
+Type=simple
+ExecStart=/usr/bin/homebridge -U /var/lib/homebridge
+
+[Install]
+WantedBy=multi-user.target