- Joined
- Aug 5, 2009
- Messages
- 93
- Reaction score
- 94
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
The server starts perfectly every time
List of available commands by typing : --> service cabal help <--
you want to test here is the
you have any suggestions to add new commands I will be grateful
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"
;;
List of available commands by typing : --> service cabal help <--
you want to test here is the
You must be registered to see links
you have any suggestions to add new commands I will be grateful
Attachments
You must be registered for see attachments list
Last edited: