summarylogtreecommitdiffstats
path: root/domoticz.service
diff options
context:
space:
mode:
authorsaez0pub2016-11-26 10:51:17 +0100
committersaez0pub2016-11-26 10:51:17 +0100
commit801d3fe9abf38051e9e035166c677adcbaab50df (patch)
treebf44dde80c89d4985031772d2c5026866234fdef /domoticz.service
downloadaur-801d3fe9abf38051e9e035166c677adcbaab50df.tar.gz
first commit
Diffstat (limited to 'domoticz.service')
-rw-r--r--domoticz.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/domoticz.service b/domoticz.service
new file mode 100644
index 000000000000..38447b18da5b
--- /dev/null
+++ b/domoticz.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Domoticz Daemon
+After=network.target
+
+[Service]
+User=http
+ExecStart=/opt/domoticz/domoticz -www 8080 -daemon
+WorkingDirectory=/opt/domoticz
+RestartSec=5
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target