summarylogtreecommitdiffstats
path: root/homegear.service
diff options
context:
space:
mode:
authorMichael Lipp2016-01-05 23:33:42 +0100
committerMichael Lipp2016-01-05 23:33:42 +0100
commitc02cf25c46fe765dff5cbe81a9ae685882d8ff12 (patch)
treef6af39f0936b1373eebc465c3464dd3ca315afd7 /homegear.service
downloadaur-c02cf25c46fe765dff5cbe81a9ae685882d8ff12.tar.gz
Initial version
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 00000000000..99f821364ee
--- /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