Bootstrap Framework 3.3.6

Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more...

Publish your tools and modifications here.
By Shadow86
#6235
Hello,

with the new update,we added a Console-Feature

from now on you can shutdown the musicbot from the Linux-Console

here is an Example how it can be look like:

Shutdown + Restart
Code: Select all
#!/bin/sh

screen -S bot1 -X stuff 'stop\n'

screen -S bot2 -X stuff 'stop\n'

screen -S bot3 -X stuff 'stop\n'

sleep 3

cd /Path/to your/Folder

echo "start bot1"
screen -dmS bot1 ./TS3MusicBot_runscript.sh -account E-mail -port 5000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -number 1

sleep 12

echo "start bot2"

screen -dmS bot2 ./TS3MusicBot_runscript.sh -account E-mail -port 5010 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -number 2

sleep 12

echo "start bot3"

screen -dmS bot3 ./TS3MusicBot_runscript.sh -account E-mail -port 5020 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -number 3
You can make a restart.sh and put it in a Crontab, so that the script gets automatically runned from the system:

Code: Select all
crontab -e
Run on a specific time (Hours):
Code: Select all
0 0,12,17 * * * /path/to/your/restart.sh
Run every 12 hours :
Code: Select all
* */12 * * * /path/to/your/restart.sh
*Tested on Debian 7 and 8 - 64bit*

regards

Shadow86
youtube

Schauen wir uns an.

Der Vollständigkeit halber antworte ich hierz[…]

If nothing from above solves your issue, I can con[…]

Web UI not responding to browser

I tried public IP, LAN IP, and letting it bind to […]

Swap-in out addons, use only what you really need!