phsmith / rundeck_exporter

Rundeck Metrics Exporter
GNU General Public License v3.0
58 stars 25 forks source link

systemd service doesn't work according to docu #77

Closed iklema closed 7 months ago

iklema commented 7 months ago

Hello,

I'd like to report that systemd service for rundeck_exporter doesn't work according to docu because of missing VERSION file in the rundeck_exporter path.

Getting following error:

/usr/local/bin/rundeck_exporter --help

Traceback (most recent call last): File "/usr/local/bin/rundeck_exporter", line 30, in version = open(path.join(path.dirname(file),'VERSION')).read() FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/VERSION'

When i moved VERSION file with script to new path all works fine. Please update script with version or documentation of systemd service.

Thank you!

phsmith commented 7 months ago

Hello @iklema,

Thanks for your report. I have just released a new version that fixes that problem.

phsmith commented 7 months ago

I'm closing this issue, but you can reopen it if the problem hasn't been solved.