consul: add service

This commit is contained in:
Tommy Alatalo 2023-05-23 09:01:19 +02:00 committed by Toyam Cox
parent 5ce9291233
commit 33c7912286
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec 2>&1
exec consul agent -config-dir=/etc/consul.d

View File

@ -1,7 +1,7 @@
# Template file for 'consul'
pkgname=consul
version=1.15.1
revision=2
revision=3
build_style=go
go_import_path="github.com/hashicorp/consul"
_git_commit=7c04b6a0dd433619e788617434a4c236b7d4f892
@ -15,4 +15,5 @@ checksum=3f5f698aad0343642949d1c442e6e8bbcd835e3c173e4ee8ebb087758d1e31a4
post_install() {
vlicense LICENSE
vsv consul
}