openwrt-packages/utils/prometheus
Alex Simkin abf8949a2a prometheus: Update default tsdb directory handling
Use /srv/prometheus instead of /data, because user `prometheus` doens't
have permissions to create `/data/` in `/`.

Instead this commit puts prometheus data into `/srv/prometheus` by
default, which is a cleaner path, and it'll create tsdb path & then assign
required permissions on each prometheus service start.

This way, also, the cases when users re-configure tsdb to point to
external USB - it'll also be created and assigned required permissions for
prometheus.

Signed-off-by: Alex Simkin <sashasimkin@gmail.com>
2021-09-09 08:17:08 -10:00
..
files prometheus: Update default tsdb directory handling 2021-09-09 08:17:08 -10:00
Makefile prometheus: Update default tsdb directory handling 2021-09-09 08:17:08 -10:00
test.sh prometheus: simplify runtime test 2020-09-17 22:19:49 -10:00