1 Attachment(s)
Service Cabal new commands
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 == "ChatNode" ]; then
echo -n
sleep 8
fi
daemon -1 --user root $daemon
echo
sleep 1
done
echo -e "\e[32mServer Start\e[0m"
;;
The server starts perfectly every time
List of available commands by typing : --> service cabal help <--
Attachment 127982
you want to test here is the link
you have any suggestions to add new commands I will be grateful
Re: Service Cabal new commands
this suport the latest vertion? or the old vertion
Re: Service Cabal new commands
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
Re: Service Cabal new commands
so its suport almost all vertion
Re: Service Cabal new commands
Re: Service Cabal new commands
Re: Service Cabal new commands
support all version:thumbup:
Re: Service Cabal new commands
Regarding Suggestion.
Adding Channels And Servers? And Rates?
Re: Service Cabal new commands
btw, forgot to post this :D improvement: make it delete .log* since if logs get too big they get separated into blabla.log.01, blabla.log.02, etc :D
Re: Service Cabal new commands
Works like a charm. Thank you for sharing.
Re: Service Cabal new commands
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?
Re: Service Cabal new commands
Re: Service Cabal new commands
Re: Service Cabal new commands
does this kind of program work in cabal ph online??
Re: Service Cabal new commands
Quote:
Originally Posted by
Boypigs Arasaw
does this kind of program work in cabal ph online??
works for servers only. not on client...
Re: Service Cabal new commands
what is the comman for " Cabal Rates" ?
Re: Service Cabal new commands
Re: Service Cabal new commands