community/consul-template: Fixes init script mode

This commit is contained in:
Mohammad Abdolirad 2020-02-18 01:06:24 +03:30 committed by Leo
parent 063e20fa81
commit b4e42007bf

View File

@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=consul-template
pkgver=0.24.1
pkgrel=0
pkgrel=1
pkgdesc="Generic template rendering and notifications with Consul"
url="https://www.consul.io/"
arch="all"
@ -26,7 +26,7 @@ package() {
# Main binary
install -m750 -D bin/$pkgname "$pkgdir"/usr/sbin/$pkgname
install -Dm644 "$srcdir"/consul-template.hcl "$pkgdir"/etc/"$pkgname"/"$pkgname".hcl
install -Dm644 "$srcdir"/consul-template.initd "$pkgdir"/etc/init.d/"$pkgname"
install -Dm755 "$srcdir"/consul-template.initd "$pkgdir"/etc/init.d/"$pkgname"
}
cleanup_srcdir() {