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