Shows the space status, stores the data in a mysql database for statistics and show some nice stats.
To build local:
- Go
- dep
Or only Docker.
# build binary
dep ensure
./build.sh
# create config
cp config.example.toml config.toml
vim config.toml Install an old Go version:
go install golang.org/dl/go1.13.15@latest
go1.13.15 downloadThis script creates a docker image with proper Go build environment and uses this to build the binary. All dependencies
and cache files are stored in the .docker-build folder.
./buildWithDocker.shUse the systemd service file in the init/ folder.
./status2 For database errors, the application exists with an error. Mqtt errors terminate the application only on startup. If you use the provided service file, the application will be restarted.