openbsd-ports/sysutils/consul-template/pkg
2020-05-16 14:09:10 +00:00
..
consul_template.rc Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d 2018-01-11 19:27:01 +00:00
DESCR
PLIST Use the new go module facility instead of creating my own tarballs. 2020-05-16 14:09:10 +00:00
README convert to PKGSTEM 2018-09-04 12:46:09 +00:00

$OpenBSD: README,v 1.2 2018/09/04 12:46:22 espie Exp $

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Multiple instances
==================

By definition consul-template is meant to be ran with multiple instances. The
default `consul_template` uses ${SYSCONFDIR}/consul-template.d/default.conf .
In order to start multiple instances:

	# ln -s ${RCDIR}/consul_template ${RCDIR}/consul_template_$NAME
	# rcctl set consul_template_$NAME status on
	# rcctl set consul_template_$NAME flags \
		-config ${SYSCONFDIR}/consul-template.d/$NAME.conf
	# rcctl start consul_template_$NAME

Configuration
=============

A default configuration file has been installed into
${SYSCONFDIR}/consul-template.d/default.conf . Please refer to the
the following https://github.com/hashicorp/consul-template#configuration-files
for more information on the configuration syntax.