summarylogtreecommitdiffstats
path: root/hopglass-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'hopglass-server.service')
-rw-r--r--hopglass-server.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hopglass-server.service b/hopglass-server.service
new file mode 100644
index 000000000000..97764427583f
--- /dev/null
+++ b/hopglass-server.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=The HopGlass Server collects data from the Freifunk network
+
+[Service]
+Type=simple
+User=hopglass-server
+Group=nobody
+WorkingDirectory=/var/lib/hopglass-server/
+ExecStart=/usr/bin/hopglass-server --config /etc/hopglass-server/config.json
+Restart=always
+
+[Install]
+WantedBy=multi-user.target