Starting FoxControl on server start

Moderators: Libero, cyrilw, matrix142, jensoo7, NADEO

Post Reply
froGHead
Posts: 5
Joined: 13 Oct 2011, 19:09

Starting FoxControl on server start

Post by froGHead »

Hi,

i'm searching for a solution to start FoxControl on server start.
I have a script for start/stop/restart that is used to start a server instance on system startup (debian, if that matters).
I tried to use something like...

Code: Select all

/etc/init.d/maniaplanet start && /opt/FoxControl/control.sh start
... in a helper script, but it fails (obviously due to a timing problem).

Do I have to start FoxControl with a time delay?

Any help would be much appreciated.

Thanks,
froGHead
User avatar
matrix142
Posts: 382
Joined: 18 Mar 2011, 18:12
Contact:

Re: Starting FoxControl on server start

Post by matrix142 »

Yes you have to start FoxControl AFTER the Dedicated Server has started completely.
MiniGod
Posts: 29
Joined: 20 Jun 2010, 17:41

Re: Starting FoxControl on server start

Post by MiniGod »

Simplest would probably be to just add a sleep:

Code: Select all

/etc/init.d/maniaplanet start && sleep 30 && /opt/FoxControl/control.sh start
Post Reply

Return to “FoxControl”

Who is online

Users browsing this forum: No registered users and 2 guests