Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:post-factum:monitoring
apcups-exporter
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package apcups-exporter
# Maintainer: Oleksandr Natalenko <oleksandr@natalenko.name> pkgname=apcups-exporter pkgver=0.0.1.r4 pkgrel=2 pkgdesc="Poll APC UPS device and export Prometheus metrics" url="https://natalenko.name" license=(GPL) arch=(any) makedepends=(cpio) prepare() { ln -sf /usr/src/packages/SOURCES/${pkgname}-src ${pkgname} } package() { depends+=(python-prometheus_client) cd ${pkgname} install -Dt "${pkgdir}"/usr/bin -m0755 apcups-exporter install -Dt "${pkgdir}"/usr/lib/systemd/system -m0644 apcups-exporter.service install -Dt "${pkgdir}"/usr/lib/systemd/system -m0644 apcups-exporter-proxy.socket install -Dt "${pkgdir}"/usr/lib/systemd/system -m0644 apcups-exporter-proxy.service install -Dm0644 apcups-exporter.sysusers "${pkgdir}"/usr/lib/sysusers.d/apcups-exporter.conf install -Dt "${pkgdir}"/usr/lib/udev/rules.d -m0644 98-apcups-exporter.rules }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor