summarylogtreecommitdiffstats
path: root/hopglass-server@.service
blob: a5e6a0485946abb47a38bd8c7d99f7b73165e00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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