Specify the -dedicated switch on the command-line, and also the -internetserver switch if you want to advertise on the MS.
Note that in dedicated mode, config.cfg and autoexec.cfg are not parsed; instead, dconfig.cfg and adedserv.cfg perform their respective functions.