[arch-commits] Commit in loki/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Dec 21 16:35:09 UTC 2019


    Date: Saturday, December 21, 2019 @ 16:35:08
  Author: jelle
Revision: 372027

install config files

Modified:
  loki/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-21 16:28:09 UTC (rev 372026)
+++ PKGBUILD	2019-12-21 16:35:08 UTC (rev 372027)
@@ -9,6 +9,7 @@
 license=('Apache')
 depends=('glibc')
 makedepends=('go-pie' 'git')
+backup=('etc/loki/loki.yaml' 'etc/loki/promtail.yaml')
 source=($pkgname-$pkgver.tar.gz::https://github.com/grafana/loki/archive/v1.2.0.tar.gz)
 sha512sums=('2a522b0c5b7bddbdf810c229dbd21a2fcac3717d1fc940bfa98f74f5e86000cb36ec17ae2ef900a7b302997860a9d8b904f1e23d18964365579d6a4a39665918')
 
@@ -41,4 +42,6 @@
 
   install -Dm755 -t "$pkgdir"/usr/bin loki promtail
 
+  install -Dm644 cmd/promtail/promtail-local-config.yaml $pkgdir/etc/loki/promtail.yaml
+  install -Dm644 cmd/loki/loki-local-config.yaml $pkgdir/etc/loki/loki.yaml
 }


More information about the arch-commits mailing list