feat: add exportarr package
- used for sonarr, radarr, etc
This commit is contained in:
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
||||
@@ -0,0 +1,37 @@
|
||||
# nfpm.yaml
|
||||
|
||||
name: exportarr
|
||||
version: ${PACKAGE_VERSION}
|
||||
release: ${PACKAGE_RELEASE}
|
||||
arch: amd64
|
||||
platform: linux
|
||||
section: default
|
||||
priority: extra
|
||||
description: "AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr"
|
||||
maintainer: onedr0p
|
||||
homepage: https://github.com/onedr0p/exportarr
|
||||
license: MIT license
|
||||
|
||||
disable_globbing: false
|
||||
|
||||
replaces:
|
||||
- exportarr
|
||||
|
||||
provides:
|
||||
- exportarr
|
||||
|
||||
# Files to include in the package
|
||||
contents:
|
||||
- src: /app/exportarr
|
||||
dst: /usr/bin/exportarr
|
||||
file_info:
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
# Scripts to run during installation/removal (optional)
|
||||
# scripts:
|
||||
# preinstall: ./scripts/preinstall.sh
|
||||
# postinstall: ./scripts/postinstall.sh
|
||||
# preremove: ./scripts/preremove.sh
|
||||
# postremove: ./scripts/postremove.sh
|
||||
Reference in New Issue
Block a user