summarylogtreecommitdiffstats
path: root/jtradfri.service
diff options
context:
space:
mode:
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