From ae8a7025b48b1c656edba6aeed8262376b0aada2 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 6 Nov 2019 23:02:24 -0500 Subject: Document calico service configuration --- calico.1 | 34 +++++++++++++++++++++++++++++++++- pounce.1 | 6 +++--- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/calico.1 b/calico.1 index 115f4e2..4d52a10 100644 --- a/calico.1 +++ b/calico.1 @@ -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 diff --git a/pounce.1 b/pounce.1 index 52bd9f0..23fca1d 100644 --- a/pounce.1 +++ b/pounce.1 @@ -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" -- cgit 1.4.1