summarylogtreecommitdiffstats
path: root/jtradfri.service
diff options
context:
space:
mode:
authorTim Niedermeier2018-07-09 15:23:45 +0200
committerTim Niedermeier2018-07-09 15:23:45 +0200
commit896a20787b30d1df5dbbebdf91c163cdebb896d7 (patch)
tree6f72af7be20b0ea905ec4db5333b4feea2adce01 /jtradfri.service
downloadaur-896a20787b30d1df5dbbebdf91c163cdebb896d7.tar.gz
initial submission to aur
Diffstat (limited to 'jtradfri.service')
-rw-r--r--jtradfri.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/jtradfri.service b/jtradfri.service
new file mode 100644
index 00000000000..47169b74902
--- /dev/null
+++ b/jtradfri.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=JTradfri - FHEM-Tradfri Gateway Software
+Wants=network.target
+After=network.target
+
+[Service]
+User=jtradfri
+Group=jtradfri
+Type=simple
+WorkingDirectory=/opt/jtradfri
+ExecStart=/usr/bin/java -jar /opt/jtradfri/jtradfri.jar -n -c /opt/jtradfri/jtradfri.conf
+
+[Install]
+WantedBy=multi-user.target