Running server as a service - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Running server as a service (
/showthread.php?tid=58299)
Running server as a service -
weezel - 15.12.2008
Hi!
i recently set up the server software on my dedicated machine, and rather than have the ugly dos window (its a server 2003 box) id like it to run in the backround. how might i achieve this ? the server restarts sometimes for updates and id like the samp server to run on boot etc.
thanks in advance
Re: Running server as a service -
KingJ - 15.12.2008
There are a few service managers out there, such as FireDaemon. If you want a simple solution you could make the following batch file:
Код:
:RUNSERVER
echo Starting Server...
samp-server
echo Server Exited, Restarting...
GOTO RUNSERVER
While it won't get rid of the ugly window, it will automatically restart on crash.
Re: Running server as a service -
Professional - 15.12.2008
Quote:
Originally Posted by KingJ
There are a few service managers out there, such as FireDaemon. If you want a simple solution you could make the following batch file:
Код:
:RUNSERVER
echo Starting Server...
samp-server
echo Server Exited, Restarting...
GOTO RUNSERVER
While it won't get rid of the ugly window, it will automatically restart on crash.
|
I thought there was a program to make the server.exe run in the background.
Re: Running server as a service -
Headhunter - 16.12.2008
I use TrayIt to place it as an icon in the systembar
Re: Running server as a service -
legodude - 30.06.2012
****** is your friend :
http://support.microsoft.com/kb/137890
Re: Running server as a service -
Mauzen - 30.06.2012