From 325bca8de542e812b7d00fb32364dce40d3c275f Mon Sep 17 00:00:00 2001 From: yaworsky Date: Thu, 8 Dec 2005 03:32:45 +0000 Subject: Added section about multiple instances. Added spaces between option and its parameter. --- doc/src/syslogd.xml | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/doc/src/syslogd.xml b/doc/src/syslogd.xml index 4ac4535..66b7b4e 100644 --- a/doc/src/syslogd.xml +++ b/doc/src/syslogd.xml @@ -20,8 +20,8 @@ -c--conf -h--help -i--install --I--instancename --p--priorityname +-I--instance name +-p--priority name -r--remove --restart -s--shutdown @@ -67,7 +67,7 @@ Install and start service. - | name + |  name @@ -78,7 +78,7 @@ This option is useful to install and run multiple daemons in the system. - | name + |  name @@ -153,4 +153,33 @@ Display version. + + Multiple instances + +It is possible to have multiple instances of the daemon in the system. +Each instance should use its own configuration file. +This could be done specifying option or just placing +instances in different directories. + + +Each instance should be configured to listen on its own interface and/or port +and to write messages into its own log files. + + +If option is not specified, the instance is default. +Otherwise, all other options will apply to the specified instance. +For example, to install a different instance with name test and +high priority issue the following command: + +syslogd --install --instance test --conf another.conf.file --priority high +Examples of control commands: + +syslogd --shutdown --instance test +syslogd --start --instance test +To remove instance the following command should be issued: + +syslogd --remove --instance test + + + -- cgit v1.2.3