AWS runs only as a standalone server; it should not be started from inetd. Normally, it is started from amitcp:db/user-startnet with no arguments. For debugging purposes, it should be started by hand with a DEBUG argument, and possibly a CONFIGFILE argument so that it uses a different port than AWS started from amitcp:db/user-startnet.
AWS uses the command line template CONFIG,-X=DEBUG/K/N,HELP/S.
CONFIG defaults to aws:conf/aws. See the configuration documentation for information on what goes inside of it.
DEBUG defaults to 0. The values for debug are:
=0: Nothing is output to standard output.
>=1: Detailed config file parsing is output to standard output.
>=2: Print all error log messages to standard output.
HELP just prints a help message and exists.