consul: add service
This commit is contained in:
parent
5ce9291233
commit
33c7912286
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec 2>&1
|
||||||
|
exec consul agent -config-dir=/etc/consul.d
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'consul'
|
# Template file for 'consul'
|
||||||
pkgname=consul
|
pkgname=consul
|
||||||
version=1.15.1
|
version=1.15.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/hashicorp/consul"
|
go_import_path="github.com/hashicorp/consul"
|
||||||
_git_commit=7c04b6a0dd433619e788617434a4c236b7d4f892
|
_git_commit=7c04b6a0dd433619e788617434a4c236b7d4f892
|
||||||
|
@ -15,4 +15,5 @@ checksum=3f5f698aad0343642949d1c442e6e8bbcd835e3c173e4ee8ebb087758d1e31a4
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
vsv consul
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue