summarylogtreecommitdiffstats
path: root/homegear.service
diff options
context:
space:
mode:
Diffstat (limited to 'homegear.service')
-rw-r--r--homegear.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/homegear.service b/homegear.service
new file mode 100644
index 000000000000..99f821364ee0
--- /dev/null
+++ b/homegear.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Homegear server
+After=network.target
+
+[Service]
+Type=forking
+User=homegear
+Group=homegear
+PIDFile=/var/run/homegear/pid
+ExecStart=/usr/bin/homegear -p /var/run/homegear/pid -d
+
+[Install]
+WantedBy=multi-user.target