Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-08-2002, 08:03 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default Attention linux fans, a script for eqemu.

I have created a script to keep eqemu up 24/7.
My script works like a init script, you call it like this
./startserver start
./startserver stop
./startserver status
Becuase you can edit it to specify your eqdirectory it *should* be able to be linked like an init script to have eqserer start at boottime

This script will
1)start the worldserver
2)start zoneservers ( by deafult this is 10, only because i have alot of memory in my machine, delete lines to suit you
3)check to see if the zoneservers are running, if they arent it will start them, if they are it will poll in another 10 seconds
4) check the world server, if the worldserver dies then it will clean up and kill any zoneservers, and then restart the world server and zone servers again.
YOU MUST SET THE VARIABLES at the top.

-scriptname is the name of the script, ex. startserver
-eqdir IS IMPORTANT, its the directory that eq is installed
-world is the name of the worldserver executable, normally world
pub_ip is your PUBLIC IP ADDRESS
-world_ip is the address of the worldserver, safe to be localhost and usually localhost
-zone is the name of the zoneserver executable, normally zone

This script has been tested to work on SuSE Linux 7, good luck with using it for youself. All i can say is its not guarenteed but it works for me:p
The attached file is named with a zip extension because of the forum limitations,but it is just the script. Rename it to startserver to use it.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:45 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3