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
  #2  
Old 05-18-2004, 12:04 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

write a script that checks for processes being dead or gone, then relaunches it. Cron that script.

Just an example for non parameterized script relaunching 7997, should be something like
Code:
if ! ps ax | grep "zone . myip 7997 myip"  |grep -v "grep" 1> /dev/null 2> /dev/null ; then
   echo "Zone on port 7997 is dead, restarting ..."
   startzone7997.sh
fi

then add to your crontab :
Code:
*/3 * * * * relaunchscript.sh 2>&1 >> ~/restart.log
to test every 3 mins.

Pb is deciding what to restart, if world is down, or one or more zones. Restart, one, all, ... ? Up to you . This is just an idea, i'd be interested in some public script if you set up one.
__________________
EQEMu Quest Repository is down until something new :(
Reply With Quote
 

Thread Tools
Display Modes

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 12:04 PM.


 

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