summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-06 23:02:24 -0500
committerJune McEnroe <june@causal.agency>2019-11-06 23:02:24 -0500
commitae8a7025b48b1c656edba6aeed8262376b0aada2 (patch)
tree44508a5beb8ce8768eecd6ccac722f23b011ab07
parentDocument SASL EXTERNAL configuration in more detail (diff)
downloadpounce-ae8a7025b48b1c656edba6aeed8262376b0aada2.tar.gz
pounce-ae8a7025b48b1c656edba6aeed8262376b0aada2.zip
Document calico service configuration
-rw-r--r--calico.134
-rw-r--r--pounce.16
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"
0d37e2f3&follow=1'>Add chroot targetJune McEnroe 2020-02-11Exit focus and paste modes on err exitJune McEnroe 2020-02-11Add startup GPLv3 note and URLJune McEnroe I am a degenerate. 2020-02-11Make sure -D_GNU_SOURCE ends up in CFLAGS on LinuxJune McEnroe 2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe 2020-02-11Rename query ID on nick changeJune McEnroe 2020-02-11Call completeClear when closing a windowJune McEnroe 2020-02-11Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe This lets phrases like "hi june" get colored, but still doesn't get carried away. 2020-02-11Use time_t for save signatureJune McEnroe It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file. 2020-02-11Set self.nick to * initiallyJune McEnroe Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe