Service Cabal new commands

Joined
Aug 5, 2009
Messages
103
Reaction score
102
HI
New commands all in one file.
modified an etc / init.d / cabal and I added new commands to start and stop Server. New commands allow you to quickly see whether the server we took off, delete logs, manage TG, list all the errors in the logs.
Server start function with a delay of 5 sec ChatNode the rest 1sec
depending on your machine you can change these values.
1 - delay ChatNode
2 - delay the other Services
Code:
  start)
	DAEMON_COREFILE_LIMIT=unlimited
	for daemon in $daemons
	do
		echo -ne "\e[36mStarting\e[0m $daemon: "
    name="${daemon%%_*}"
if [ $name == "[COLOR="#008000"]ChatNode[/COLOR]" ]; then
		echo -n
		[COLOR="#FF0000"]sleep 8[/COLOR]
fi
		daemon -1 --user root $daemon
		echo
		[COLOR="#0000FF"]sleep 1[/COLOR]
	done
	echo -e "\e[32mServer Start\e[0m"
        ;;
The server starts perfectly every time
List of available commands by typing : --> service cabal help <--
hel - Service Cabal new commands - RaGEZONE Forums
you want to test here is the
you have any suggestions to add new commands I will be grateful
 
Last edited:
i've tested it and am using it since you posted it :) rly good job, not actually that useful tho, but i love the "stopd" feature :D logs are rly annoying :) and about other features ... well i don't rly think you can add anything more ... maybe a cron job editor for nation war, like "TGadd 12 30" or something ...

btw: some1 should include it in a repack :P
 
Very good stuff all time i start and restart server work 100%

i search a simple web to register and top 100 for ep 8 can you help me?
 
Back