chiark / gitweb /
New environment variable TRIPESOCK.
[tripe] / doc / tripe.8.in
similarity index 97%
rename from doc/tripe.8
rename to doc/tripe.8.in
index f5fe5bf6dc5f0e4ecd06294762898a670b25ce1b..e58c28cf4acf665473cbffeb30b1c03eeab65dbb 100644 (file)
@@ -99,7 +99,7 @@ will initialize by following these steps:
 It sets the directory named by the
 .B TRIPEDIR
 environment variable (or
-.B /var/lib/tripe
+.B "@configdir@"
 if the variable is unset) as the current directory.
 .hP 2.
 It acquires a UDP socket with an arbitrary kernel-selected port number.
@@ -169,9 +169,12 @@ in the background is with
 .BI "\-d, \-\-directory=" dir
 Makes
 .I dir
-the current directory, instead of
-.BR /var/lib/tripe .
-Give a current directory of
+the current directory.  The default directory to change to is given by
+the environment variable
+.BR TRIPEDIR ;
+if that's not specified, a default default of
+.B "@configdir@"
+is used.  Give a current directory of
 .B .
 if you don't want it to change directory at all.
 .TP
@@ -226,9 +229,13 @@ rather than the default
 .TP
 .BI "\-a, \-\-admin\-socket=" socket
 Accept admin connections to a Unix-domain socket named
-.I socket
-rather than the default
-.BR tripesock .
+.IR socket .
+The default socket, if this option isn't specified, is given by the
+environment variable
+.BR TRIPESOCK ;
+if that's not set either, then a default default of
+.B "@socketdir@/tripesock"
+is used instead.
 .TP
 .BI "\-T, \-\-trace=" trace-opts
 Allows the enabling or disabling of various internal diagnostics.  See