summarylogtreecommitdiffstats
path: root/openhab.service
diff options
context:
space:
mode:
authorThorsten Lanfer2015-06-30 23:34:32 +0200
committerThorsten Lanfer2015-06-30 23:34:32 +0200
commitab99a5aa7e8bbde683008b9b36fea2c8b1b4e155 (patch)
tree200c89f2135732f5246685503a9c85f9a2a67279 /openhab.service
downloadaur-ab99a5aa7e8bbde683008b9b36fea2c8b1b4e155.tar.gz
initial commit
Diffstat (limited to 'openhab.service')
-rw-r--r--openhab.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/openhab.service b/openhab.service
new file mode 100644
index 000000000000..2b901f34e31e
--- /dev/null
+++ b/openhab.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenHAB runtime
+After=syslog.target network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/conf.d/openhab
+ExecStart=/opt/openhab-runtime/start.sh
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target