diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pies.texi | 28 |
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 |
280 | pies /etc/pies.conf \ | 280 | pies --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 |
2055 | are kept in local state directory (usually @file{/var/run/pies}, or | 2055 | directory which hosts these files is called @dfn{state directory}, it |
2056 | @file{/usr/local/var/run/pies}). The table below describes these | 2056 | is usually @file{/var/pies} or @file{/usr/local/var/pies}). The state |
2057 | files. The @var{instance} in this table stands for the @command{pies} | 2057 | directory can be configured at run time: |
2058 | instance name (@pxref{instances}). Usually, it is @samp{pies}. | 2058 | |
2059 | @deffn {Config} state-directory @var{dir} | ||
2060 | Set the program state directory. | ||
2061 | @end deffn | ||
2062 | |||
2063 | The table below describes the files kept in the state directory. The | ||
2064 | @var{instance} in this table stands for the @command{pies} instance | ||
2065 | name (@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. |
2079 | Use them only if the defaults does not suit your needs, and the | 2086 | Use them only if the defaults do not suit your needs, and niether |
2080 | @option{--instance} option does not help: | 2087 | the @code{state-directory} statement nor the @option{--instance} |
2088 | can help: | ||
2081 | 2089 | ||
2082 | @deffn {Config} pidfile @var{file} | 2090 | @deffn {Config} pidfile @var{file} |
2083 | Sets the PID file name. | 2091 | Sets the PID file name. |