Commit Graph

9 Commits

Author SHA1 Message Date
Martin Weinelt
d1f33c1172 systemd: set WorkingDirectory to fix relative mkdir
Loki 2.4.1 tries to `mkdir` a path relative to the working directory,
which is problematic when it is not set to a path that is writeable by
the loki user.

> level=error ts=2021-12-02T16:18:14.974316503Z caller=log.go:106 msg="error running loki" err="mkdir wal: permission denied [...]"

Fixes this by setting the working directory to lokis storage directory.

Signed-off-by: Martin Weinelt <martin.weinelt@man-da.de>
2021-12-02 17:25:04 +01:00
Diogenes Pelisson
f74de4a831 configs 2020-05-25 18:24:24 -03:00
Diogenes Pelisson
5e003d418e update readme 2020-05-04 18:58:54 -03:00
Diogenes Pelisson
3d353d39fa ansible actions 2020-05-04 18:54:03 -03:00
Diogenes Pelisson
38e4d7926f configs 2020-05-04 18:48:42 -03:00
Diogenes Pelisson
d4dbe48400 changes 2020-04-21 19:54:44 -03:00
Diogenes Pelisson
653277b1d5 changes 2020-04-20 13:03:35 -03:00
Diogenes Pelisson
edf06d6468 add promtail 2020-04-19 21:21:00 -03:00
Diogenes Pelisson
fba33111d7 initial commit 2020-04-19 17:28:06 -03:00