[Bug 274194] sysutils/loki: New rc.d file for promtail

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Oct 2023 13:48:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274194

--- Comment #3 from Eren Türkay <turkay.eren@gmail.com> ---
Hey Christopher,

Thanks for the reply. I agree with staying close to upstream and using the
default configuration file. In that case, I'm planning on following:

- Add default configuration file with /var/db/promtail/positions.yml
- Add promtail user/group
- Add rc.d script
- Run promtail under promtail user (upstream system.d file also runs with
promtail)

The only downside is that promtail will not be able to read /var/log/ as
provided by default but it will not crash. As you mentioned this will not be
the scope of the work, I will leave that as-is and we can later improve the
default behavior.

I can send this patch in a few days, probably on the weekend. If you happen to
bump the version earlier, we can add it later.

Best,
Eren

-- 
You are receiving this mail because:
You are the assignee for the bug.