LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-18-2004, 12:30 AM   #1
oddione
LQ Newbie
 
Registered: Apr 2004
Location: Ottawa Canada
Posts: 6

Rep: Reputation: 0
Startup script game servers


hi guys, I am running RH9 on a dedicated server. I need to know how to run a startup script so that all the servers come online automaticly when I boot the box. also, I use the following command to ban people :
iptables -I INPUT -s xxx.xxx.xxx.xxx -j DROP

I am farly new to linux and need to know what stucture to use. how to make the script and where to put it or if you have a better suggestion.

for example, to run the ut2004 server, I run it using a user called ut2k4 so I need to execute the following : ./home/ut2k4/public/System/Start.sh dm

however, I need to run is as the ut2k4 user.

I dont know what structure to use int the script. so please help me. a sample script would be extremely nice. I love these forums and its what has made it possible for me to learn linux. thanks in advance for your help.
 
Old 10-18-2004, 12:32 AM   #2
oddione
LQ Newbie
 
Registered: Apr 2004
Location: Ottawa Canada
Posts: 6

Original Poster
Rep: Reputation: 0
also, usually, when I start these servers, I start them using the screen command. and I can resume the screen. any way to also put this in the script?

Last edited by oddione; 10-18-2004 at 02:36 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting a game server at startup a03gudhi Fedora 2 10-18-2005 05:17 PM
Game Servers gorilla Debian 1 03-25-2005 06:18 PM
Game server at startup/boot pavalosv Linux - Games 2 08-05-2004 07:28 PM
Simple question, setting up multiple game servers lexington Linux - Newbie 3 05-24-2004 05:11 PM
startup servers emperorjordan Mandriva 1 02-25-2004 06:13 PM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration