Pegasus InfoCorp: Web site design and web software development company

CTLINND (8)

control the InterNetNews daemon

SYNOPSIS

    ctlinnd [ -h ] [ -s ] [ -t timeout ] command [ argument... ]

DESCRIPTION

    Ctlinnd sends a message to the control channel of innd (8), the InterNetNews server.

    In the normal mode of behavior, the message is sent to the server, which then performs the requested action and sends back a reply with a text message and the exit code for ctlinnd . If the server successfully performed the command, ctlinnd will exit with a status of zero and print the reply on standard output. If the server could not perform the command (for example, it was told to remove a newsgroup that does not exist), it will direct ctlinnd to exit with a status of one. The ``shutdown,'' ``xabort,'' and ``xexec'' commands do not generate a reply; ctlinnd will always exit silently with a status of zero.

OPTIONS

    -s

      If the ``-s'' flag is used, then no message will be printed if the command was successful.

    -t

      The ``-t'' flag can be used to specify how long to wait for the reply from the server. The timeout value specifies the number of seconds to wait. A value of zero waits forever, and a value less than zero indicates that no reply is needed. When waiting for a reply, ctlinnd will try every two minutes to see if the server is still running, so it is unlikely that ``-t0'' will hang. The default is set as <CTLINND_TIMEOUT in config.data> (typically