diff options
author | IanDury | 2015-08-23 22:05:14 +0200 |
---|---|---|
committer | IanDury | 2015-08-23 22:05:14 +0200 |
commit | f0cb3430d299c030c3e52dd6fb9bd791355fa81c (patch) | |
tree | a24defeef181d302c8bb461c522007dd0c92144d /domoticz.service | |
download | aur-f0cb3430d299c030c3e52dd6fb9bd791355fa81c.tar.gz |
Initial import
Diffstat (limited to 'domoticz.service')
-rw-r--r-- | domoticz.service | 12 |
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 |