consul: Reduce permissions to data-dir

This commit is contained in:
Michael Aldridge 2023-05-26 16:19:37 -05:00
parent e94e437b60
commit 47ca8450f2
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'consul'
pkgname=consul
version=1.15.2
revision=2
revision=3
build_style=go
go_import_path="github.com/hashicorp/consul"
_git_commit=5e08e229dbdaed5adf3ca99afe9df247c51507da
@ -13,7 +13,7 @@ homepage="https://www.consul.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=ce5e6666c9bd3ee8dcd60b2ed6e082ab9893fda3c0a2218add649c197f34f2f3
system_accounts="_consul"
make_dirs="/etc/consul.d 0755 _consul _consul
make_dirs="/etc/consul.d 0755 root _consul
/var/lib/consul 0750 _consul _consul"
post_install() {