summarylogtreecommitdiffstats
path: root/domoticz.service
diff options
context:
space:
mode:
authorIanDury2015-08-23 22:05:14 +0200
committerIanDury2015-08-23 22:05:14 +0200
commitf0cb3430d299c030c3e52dd6fb9bd791355fa81c (patch)
treea24defeef181d302c8bb461c522007dd0c92144d /domoticz.service
downloadaur-f0cb3430d299c030c3e52dd6fb9bd791355fa81c.tar.gz
Initial import
Diffstat (limited to 'domoticz.service')
-rw-r--r--domoticz.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/domoticz.service b/domoticz.service
new file mode 100644
index 000000000000..63264e61a7e0
--- /dev/null
+++ b/domoticz.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Domoticz Daemon
+After=network-online.target
+
+[Service]
+User=http
+ExecStart=/opt/domoticz/domoticz -www 8080 -loglevel=1 -log /var/log/domoticz/domoticz.log -daemon &> /dev/null
+RestartSec=5
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target