aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-12-11 21:01:35 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-12-11 21:01:35 +0200
commit94c29f6b6180dca91ae4034ffcb50c6a5c171b75 (patch)
treeba75fd15d2cfe18cb083dc04267c58a63ae28208 /doc
parent4d759daeec0abf98294ece5a689c608890ffb4d1 (diff)
downloadpies-94c29f6b6180dca91ae4034ffcb50c6a5c171b75.tar.gz
pies-94c29f6b6180dca91ae4034ffcb50c6a5c171b75.tar.bz2
Final cleanup for version 1.2.
* configure.ac (INETD_SH): Rename to INETD. * NEWS: Update. * src/.gitignore (inetd.sh): rename to inetd. * doc/pies.texi: Update. * src/Makefile.am (pkgstatedir): New variable. (AM_CPPFLAGS): Add define. (inetd.sh): Replace with inetd. (install-exec-hook): Remove. * src/pies.c (statedir): New variable. (pies_keywords): New keyword: "state-directory". (set_file_names): Split in two functions: (set_conf_file_names, set_state_file_names). (main): Call set_conf_file_names before, and set_state_file_names after parsing the configs.
Diffstat (limited to 'doc')
-rw-r--r--doc/pies.texi28
1 files changed, 18 insertions, 10 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index 04c85a4..b6f2c91 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -277,9 +277,9 @@ in a single command line, e.g.:
277 277
278@smallexample 278@smallexample
279@group 279@group
280pies /etc/pies.conf \ 280pies --config-file /etc/pies.conf \
281 --syntax=inetd --config-file /etc/inetd.conf \ 281 --syntax=inetd --config-file /etc/inetd.conf \
282 --syntax=meta1 --config-file /etc/meta1/meta1.conf 282 --syntax=meta1 --config-file /etc/meta1/meta1.conf
283@end group 283@end group
284@end smallexample 284@end smallexample
285 285
@@ -2051,11 +2051,18 @@ start @command{jabberd} components:
2051@node State Files 2051@node State Files
2052@section State Files 2052@section State Files
2053@cindex state files 2053@cindex state files
2054 Pies uses several files to keep its state information. These files 2054 Pies uses several files to keep its state information. The
2055are kept in local state directory (usually @file{/var/run/pies}, or 2055directory which hosts these files is called @dfn{state directory}, it
2056@file{/usr/local/var/run/pies}). The table below describes these 2056is usually @file{/var/pies} or @file{/usr/local/var/pies}). The state
2057files. The @var{instance} in this table stands for the @command{pies} 2057directory can be configured at run time:
2058instance name (@pxref{instances}). Usually, it is @samp{pies}. 2058
2059@deffn {Config} state-directory @var{dir}
2060Set the program state directory.
2061@end deffn
2062
2063The table below describes the files kept in the state directory. The
2064@var{instance} in this table stands for the @command{pies} instance
2065name (@pxref{instances}). Usually, it is @samp{pies}.
2059 2066
2060@table @asis 2067@table @asis
2061@item @file{@var{instance}.pid} 2068@item @file{@var{instance}.pid}
@@ -2076,8 +2083,9 @@ built-in service (@pxref{qotd}).
2076@end table 2083@end table
2077 2084
2078 The following statements allow to redefine state file names. 2085 The following statements allow to redefine state file names.
2079Use them only if the defaults does not suit your needs, and the 2086Use them only if the defaults do not suit your needs, and niether
2080@option{--instance} option does not help: 2087the @code{state-directory} statement nor the @option{--instance}
2088can help:
2081 2089
2082@deffn {Config} pidfile @var{file} 2090@deffn {Config} pidfile @var{file}
2083Sets the PID file name. 2091Sets the PID file name.

Return to:

Send suggestions and report system problems to the System administrator.