summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoraulonsal2021-06-28 06:50:58 +0530
committeraulonsal2021-06-28 06:50:58 +0530
commit6bdecee0cd2810fa11dbdddb1b9f16404ca164cd (patch)
treecb31c4cdf2f0da350f59a49b17e94391c3274e53 /PKGBUILD
parent7dd4b313727f734e45247b74a5d3402dad1667f0 (diff)
downloadaur-6bdecee0cd2810fa11dbdddb1b9f16404ca164cd.tar.gz
upgpkg: pyroscope-bin 0.0.34-2
Install the binary with group and user set to pyroscope and then set the SUID and SGID bits to enable running `pyroscope server` as non-pyroscope, non-root users, as that seems to be an intended use case from the documentation.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d997fc960b68..73ab1892494d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
# Maintainer: aulonsal <aulonsal at gmail dot com>
pkgname=pyroscope-bin
pkgver=0.0.34
-pkgrel=1
+pkgrel=2
pkgdesc="Continuous profiling platform"
arch=(x86_64 aarch64)
url="https://pyroscope.io/"
license=('APACHE')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
+install=pyroscope.install
backup=("etc/${pkgname%-bin}/server.yml" "etc/default/${pkgname%-bin}")
source=(
"$pkgname-$pkgver-server.service::https://raw.githubusercontent.com/pyroscope-io/${pkgname%-bin}/v$pkgver/scripts/packages/pyroscope-server.service"