194 NASERVER(8)
NAME
naserver – network audio server for DAT-Link
SYNOPSIS
naserver [–F ][-u unit ][–s sockbase ][–R retries ]
DESCRIPTION
naserver is a wrapper for the NetAudio server, netaudiod(8). It manages system logging, monitoring
r
/
of netaudiod and error handling. It can be started at system boot-time by adding an entry in /etc/rc o
etc/rc.local.
After naserver initializes, it forks a subprocess to handle the NetAudio daemon and then exits. It then
e
L
logs any failures of the daemon using the syslog(3) facilities. Messages are logged under th
OG_DAEMON facility. Debug, warning, and error messages are logged under their appropriate sys-
log(3) level. If netaudiod fails, naserver
will sleep for a period of time and then retry. The sleep time uses an exponentially increasing
I
schedule starting with 60 seconds and doubling after each failure to a maximum of 1 hour.
f another invocation of netaudiod(8) is already running when naserver is started, the running netau-
OPTIONS
diod, and any old naserver processes will be killed.
The -u and -s options to naserver are passed on to invocations of netaudiod(8). The -F option
t
i
prevents naserver from forking and immediately exiting. If the -R option is given, then its argumen
ndicates the number of times naserver will attempt to start netaudiod before giving up.
SEE ALSO
netaudiod(8), nakillserver(8) syslogd(8)
BUGS
DAT-Link User’s Manual.
If a second naserver process is started while another process is in the process of restarting netaudiod, a
N
race condition may occur whereby the old process may survive and kill the new naserver process.
etAudio Reference Last change: 1995/05/23 1