feat: add exportarr (#365)
- add exporters::exportarr - deploy for radarr, sonarr and prowlarr Reviewed-on: #365
This commit was merged in pull request #365.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Prometheus exportarr
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User=<%= @user %>
|
||||
Group=<%= @group %>
|
||||
EnvironmentFile=<%= @vars_file %>
|
||||
ExecStart=<%= @exec_path %> <%= @app %> --port <%= @port %> --url <%= @url %> --api-key <%= @api_key %> --config <%= @config_file %> --enable-additional-metrics <%= @extra_metrics %><% if @app == 'prowlarr' %> --backfill <%= @backfill %><% end %>
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,4 @@
|
||||
# THIS FILE IS MANAGED BY PUPPET
|
||||
<% @options.each do |key, value| -%>
|
||||
<%= key %>=<%= value %>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user