#1  
Old 19th February 2006, 05:52
sle09 sle09 is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Startup

how would i make a certian cmd run at startup?
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2006, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,769
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

You can either add the command to one of the existing start / stop scripts in /etc/init.d, if the command is related to one of the services.

Or you make a new startup script in /etc/init.d and set a symlink in the rc0.d - rc6.d directorys, depending on the runlevel when you want to run the command.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th February 2006, 19:08
sle09 sle09 is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what do u mean run level, i want it to run top priority. its a game server that i want to start up on boot


the cmd is in

/usr/local/games/ja

and i have to execute this cmd

./linuxjampded +set dedicated 2 +set fs_game japlus +set net_port 29070 +set com_hunkmegs 64 +exec server.cfg

ho do i do that
Reply With Quote
  #4  
Old 19th February 2006, 23:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Which distribution do you use?
Isn't there an init script for your game server in /etc/init.d?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
error on startup erik Installation/Configuration 6 13th January 2007 12:54
postfix error: unsupported dictionary type: localhost.http: mystix Installation/Configuration 3 9th December 2006 14:23
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 18:51
Postfix Problem m u r Installation/Configuration 0 8th August 2005 19:12


All times are GMT +2. The time now is 17:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.