The Server: concserv

Starting the server

The server may be started in one of two modes daemon mode and debugging mode. The only difference between the two is that debugging mode stays in the foreground and outputs all error and other messages to the screen as well as the log file. The server enters daemon mode unless the -d switch is supplied at the command line.

The server should be started as the console user and, ideally, be given a few seconds to initialise before a client connects. Perhaps the best way to do this would be to add a line similar to the following to /etc/rc.d/rc.local (or another suitable script in your distribution).

su conc -c /home/conc/bin/concserv