hopglass / hopglass-server

The HopGlass Server, which collects data from Freifunk networks and processes it to be used in HopGlass or for statistics
GNU Affero General Public License v3.0
21 stars 27 forks source link

Save persistent data to /var/lib/hopglass #54

Open mweinelt opened 8 years ago

mweinelt commented 8 years ago

Currently raw.json is being saved to /etc/hopglass/instance/raw.json. This default does not follow the Filesystem Hierachy Standard¹, as its a state file, not a configuration file.

Please save it to /var/lib/hopglass/instance/raw.json instead.

[1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

ghost commented 8 years ago

I do that on my systems. You can create a pull request to change the default config and install script.

Edit 2017: I am still aware of this. The installation script should write a configuration that saves the data to /var. But many things about the installation script are not right and I'd not recommend using it at the moment.