PDA

View Full Version : Dedicated Server as a Service



vM Genadier
Nov 21 2001, 21:18
Well I'm still trying to figure out how to make a service out of the ofp_server.exe file.

I see that Win XP has the required sc.exe file allready but I'm not sure how to use it to create the service so that -

A) it restarts on a crash or reboots and restarts
and
b) it will use the sever.cfg file

How bout it BIS, can you give us some more info on how to accomplish this?

vM Grenadier

plainsane
Nov 22 2001, 01:43
to run the exe as a service under nt, run svrany.exe and pass the executable name as the first parameter then create the registry keys in hkey_local_machine\system\currentcontrolset\services to pass any parameters you need. email me if you have any questions. plainsane@<hidden>

Suchey
Nov 22 2001, 01:53
you can also use server docker to gain the same functionality...works like a charm for me...find it here:

http://winsoft.net.au/~stephen/serverdoc/