Browse Source

Document calico service configuration

master
Causal Agent 1 week ago
parent
commit
ae8a7025b4
Signed by: C. McEnroe <june@causal.agency> GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 36 additions and 4 deletions
  1. 33
    1
      calico.1
  2. 3
    3
      pounce.1

+ 33
- 1
calico.1 View File

@@ -1,4 +1,4 @@
.Dd November 1, 2019
.Dd November 6, 2019
.Dt CALICO 1
.Os
.
@@ -52,6 +52,38 @@ The path to the directory containing
UNIX-domain sockets.
.El
.
.Ss Service Configuration
Add the following to
.Pa /etc/rc.conf
to enable the
.Nm
daemon:
.Bd -literal -offset indent
calico_enable="YES"
.Ed
.
.Pp
The default socket directory is
.Pa /var/run/calico .
It can be changed by setting
.Va calico_path .
The
.Xr pounce 1
service can be configured
to listen in this directory
with the following:
.Bd -literal -offset indent
pounce_flags="-U /var/run/calico"
.Ed
.
.Pp
The
.Nm
and
.Xr pounce 1
services can be started and stopped
completely independently of each other.
.
.Sh EXAMPLES
.Bd -literal -offset indent
pounce -U sockets/foo.example.org foo.conf

+ 3
- 3
pounce.1 View File

@@ -298,7 +298,7 @@ daemon is started in the
directory.
Configuration files in that location
can be loaded by setting
.Ar pounce_flags :
.Va pounce_flags :
.Bd -literal -offset indent
pounce_flags="example.conf"
.Ed
@@ -309,10 +309,10 @@ The
service supports profiles
for running multiple instances.
Set
.Ar pounce_profiles
.Va pounce_profiles
to a space-separated list of names.
Flags for each profile will be set from
.Ar pounce_${profile}_flags .
.Va pounce_${profile}_flags .
For example:
.Bd -literal -offset indent
pounce_profiles="example1 example2"

Loading…
Cancel
Save