feat: add nzbget_exporter (#368)

- add nzbget_exporter class
- add exporter to nzbget class

Reviewed-on: #368
This commit was merged in pull request #368.
This commit is contained in:
2025-08-03 15:03:29 +10:00
parent 5a9241940f
commit 53fabc923b
3 changed files with 90 additions and 0 deletions
@@ -0,0 +1,15 @@
[Unit]
Description=Prometheus nzbget_exporter
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
Group=<%= @group %>
ExecStart=<%= @exec_path %> --host=<%= @url %>
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target