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.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2002, 12:47 PM
solar
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default Linux startzones script

Well, there isn't a bootzones script in the source like there is in the win32 binary release, so I thought I'd post this quick one i threw together:

Code:
#!/bin/bash

ZONES=5
PORT=7995
WORLDIP=192.75.207.65
MYIP=192.75.207.65

for (( ; ZONES-- > 0 ; PORT++ ));
do
echo "starting zone on port $PORT"
  ./zone . $MYIP $PORT $WORLDIP >> zonelog.$PORT 2>&1 &
To use it, put it in the directory with your binaries and config files, edit the values for the IPs and the number of zones you want to start, and run it. Good way to shut em down is with 'killall zone' if you have that util.

-solar
Reply With Quote
  #2  
Old 09-11-2002, 06:44 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

Code:
#!/bin/sh
while 1
do ./zone <zonename or .> bha blha blha
done
couple of those and one that just runs all of those scripts, nice keepalive
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #3  
Old 09-11-2002, 07:34 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

How about...

while 1
fork();

My favorite... That asshole Hogie ( ) almost ftped that to me once as a zoneserver....
Reply With Quote
Reply


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 04:34 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3