promtail as service on windows behaves differently than run directly

755 Views Asked by At

Somehow there seems to be a difference on how to run promtail on Windows. enter image description here

Run directly via promtail.exe --config.file=config.yml it works. It adds targets, and starts scanning: enter image description here

Started via nssm as a service, service is running, stderr redirected to a file shows that promtail does never start the scanning, even terminates. Any idea what could cause this behaviour? enter image description here

nssm settings:

enter image description here

enter image description here

enter image description here

enter image description here

0

There are 0 best solutions below