hydraulix 0 Posted September 6, 2003 1st post! trying to get webmin to run a couple of game servers. Enemy Territory to be specific. But after closing the webmin browser window, the server will die after a couple of mins, OR whenever the first person tries to connect. Not sure why,.... Heres what I do,.... Create a new user named "tek" create teksrv.cfg and place in /home/tek/.etwolf/etmain Then I create a custom command in webmin Name: Start ET Server Command: ./etded +exec teksrv.cfg +set dedicated 2 Start In: /home/games/et Run as user: tek Users Environment [X] (check marked) After clicking the "Start ET Server" button, the server starts up fine, people can connect, UNTIL I close the webmin window. What im aiming for.... Id like to run my gameservers the same way services are run. example: if you want to restart your apache server, you can type /sbin/service httpd restart I would like to be able to restart my ET server using the same method. /sbin/service tekET restart Not exactly sure how to do this, but I have taken a look at the scripts that are in my /etc/init.d dir and they seem to be the ones that control these services. Although when i view them with VI, it looks like japanese to me. Any help on this subject would be greatly appreciated and possibly greatly rewarded as well 8). Thanks in advance. Share this post Link to post
UnarmedPlayer 0 Posted September 6, 2003 Quote: 1st post! I would like to be able to restart my ET server using the same method. /sbin/service tekET restart Not exactly sure how to do this, but I have taken a look at the scripts that are in my /etc/init.d dir and they seem to be the ones that control these services. Although when i view them with VI, it looks like japanese to me. Any help on this subject would be greatly appreciated and possibly greatly rewarded as well 8). Thanks in advance. well prefer to use initscripts, but i can not attach files to this message, sorry. Look at linuxfromscratch.org there is a suite of functions in order to run etded as deamon. Share this post Link to post
REL!c2K 0 Posted September 9, 2003 Quote: Quote: 1st post! I would like to be able to restart my ET server using the same method. /sbin/service tekET restart Not exactly sure how to do this, but I have taken a look at the scripts that are in my /etc/init.d dir and they seem to be the ones that control these services. Although when i view them with VI, it looks like japanese to me. Any help on this subject would be greatly appreciated and possibly greatly rewarded as well 8). Thanks in advance. well prefer to use initscripts, but i can not attach files to this message, sorry. Look at linuxfromscratch.org there is a suite of functions in order to run etded as deamon. Just as an after thought, you could see if they have a dedicated ET server for linux, and just run a dedicated that way via a shell script. This is generally how I run mine. I can have them added to my startup menu, but I prefer to manage them myself vice having any game servers start on Linux startup. Yes there is ways of doing what you want, but you may want to get your hands on the dedicated linux versions first One way is to create your own startup script in /etc/init.d/dedicatedservername, then create a symbolic link to the /etc/rc2.d/S69etdedicated (S=startup), for example. Another would be to add a line starting the dedicated server to the rc.local file. Do you really want game servers running in the background where you can't see them ? Share this post Link to post
DjeeZeus 0 Posted September 16, 2003 1st post! hey hydrolux can we discuss this on msn plz ? add me djeezeus hotmail.com ty ! Share this post Link to post
host 0 Posted October 13, 2003 What u are doing wrong is you are not using screen to run the server. Look here: this command is the command I use to run my server. But I dont use a SERVICE. I would like help to run it as a service. But I know what u are doing wrong. This is how U load it Name: Start ET Server Command: nice --20 screen ./etded +exec teksrv.cfg +set dedicated 2 Start In: /home/games/et Run as user: tek Users Environment [X] (check marked) See the difference in yours. Name: Start ET Server Command: ./etded +exec teksrv.cfg +set dedicated 2 Start In: /home/games/et Run as user: tek Users Environment [X] (check marked) LOL I would like to see u try it. U will like it. Share this post Link to post