Server - Setting up exe files as Services

Post Reply
thespamcenter
Posts: 4
Joined: Sat Aug 04, 2012 1:43 am

Server - Setting up exe files as Services

Post by thespamcenter » Thu Aug 09, 2012 5:32 am

Has anyone been able to get the server related .exe files to run as services on Server 2008 R2 for instance and willing to share what they did? I tried srvany and didn't have much luck there.

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: Server - Setting up exe files as Services

Post by bluekirby0 » Thu Aug 09, 2012 12:36 pm

To be honest, I think it is a bad idea to run them as a service until the project is a little more stable. Since it isn't designed to run as a service, there will be no method other than task manager to manipulate it, and you will need admin privileges even for that. When things go wrong all you can do with a service is restart it (and read the logs).

theloneus
Posts: 7
Joined: Sat Jul 28, 2012 9:57 pm

Re: Server - Setting up exe files as Services

Post by theloneus » Sun Sep 09, 2012 1:32 pm

I just made a batch file that launches and minimizes them all.
Put this in a batch file (i.e. server.bat) in the same folder as the exe's

Then I just made a shortcut to it on my desktop.

Code: Select all

start /min /d "./" DSConnect-server.exe
start /min /d "./" DSGame-server.exe
start /min /d "./" DSSearch-server.exe

Post Reply