-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Service Install Path for Blackbox Exporter #8
Comments
Fix #8 - incorrect path to blackbox exporter
Running
|
Hmm, what did the log report? I ran the install process on the chocolatey test vagrant box but I didn't run through an upgrade. |
It might be the case that during |
Uninstalled and reinstalled and it worked without errors, hopefully that was just an issue on my side. Thanks for sending the pull request! |
Unfortunately the current version of the package has an error.
The path used on line 34...
Start-ChocolateyProcessAsAdmin "install $ServiceName $(Join-Path $env:chocolateyPackageFolder "tools\prometheus-$PackageVersion.windows-amd64\prometheus.exe")" nssm
...is not where the exe is located. It's found instead at
tools\blackbox_exporter-$PackageVersion.windows-amd64\blackbox_exporter.exe
I'm not sure if this is something that would change again in the future, but I have a fix that should take care of this and any future changes.
The text was updated successfully, but these errors were encountered: