joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
313 stars 88 forks source link

Support for Installing cert-exporter as a Windows Service #158

Closed esimeon-hc closed 4 months ago

esimeon-hc commented 5 months ago

Hello Team, Thank you for this great exporter.

I am trying to install cert-exporter as a Windows Service. Unfortunately, what I thought was going to be trivial setup ends up being a real issue for Go based applications; requiring additional callbacks.

I was checking if anyone had any recommendations or success with tools like: https://github.com/kardianos/service

Thank you in advance for your inputs

joe-elliott commented 4 months ago

I have not worked on Windows in many years. Have you tried something like this:

https://github.com/winsw/winsw

esimeon-hc commented 4 months ago

Thank you @joe-elliott, I installed cert-exporter as a Windows service using WinSW.