In addition to its native configuration file format, GNU
pies is able to read configuration files of several other
widely-used utilities. One of these is
inetd. The simplest
way to use such configuration files is by including them to your main
pies.conf using the include-inetd statement:
Read components from
inetd-style configuration file
file. The argument may also be a directory, in which case
all regular files from that directory are read and parsed
inetd-style configuration files.
The components read from file are appended to the
list of components in order of their appearance.
For example, the following statement reads components from the
inetd configuration file:
Any number of
include-inetd may be specified. For example, the
following reads the contents of the /etc/inetd.conf
configuration file and all files from the /etc/inetd.d
include-inetd /etc/inetd.conf; include-inetd /etc/inetd.d;
Another way to read
inetd configuration files is to supply
them in the command line, like this:
pies --syntax=inetd --config-file /etc/inetd.conf
Notice the --syntax option (see config syntax). It
pies that the following files are in
format. Of course, several configuration file may be given:
pies --syntax=inetd \ --config-file /etc/inetd.conf --config-file /etc/inetd.d
A special option is provided that instructs
pies to behave
Read configuration from sysconfdir/inetd.conf and make
pies state files (see State Files) do not
conflict with those from other
The GNU Pies package also provides a wrapper that allows to use
pies instead of
inetd. It is built if the package
is configured with the --enable-inetd option. The wrapper
is then installed in sbindir as inetd, possibly replacing
the system binary of that name.
The command line usage of the
inetd wrapper is entirely
compatible with that of the usual
inetd utility, i.e.:
inetd [option] [config [config...]] [-- pies-options]
Increase debug level.
Set maximum rate (see max-rate).
For convenience, the following additional options are understood:
Parse configuration file or files and exit. See lint.
Display info about the running instance. See pies-status.
Stop the running instance.
Finally, any additional options
pies understands may be
inetd after the ‘--’ separator.