[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#921351: [pkg-go] Bug#921351: prometheus-postfix-exporter: Init script missing



Hi Martin,

On 11.02.19 12:21, Martín Ferrari wrote:

Yes, I realised that when I was working on the package. But this does
not solve the issue about supporting sysv, so I added a rsyslog snippet
to create the separate logfile, and removed the systemd.enable flag from
the default so both versions use that logfile.

Is there any way the exporter could use the systemd journal when in a system environment, and only fall back to using the extra log file when running under sysv?


Instead of doing that, which will give too much privileges to the
prometheus user, I granted the group permissions only when starting the
exporter, both in the init script and the service unit.

Sounds good to me.

Cheers


Reply to: