[NF] Senml now has a configure option to setup the guid [NF] Zway-Bot now listen on /exit [NF] Implment searchpath for Zway-Bot (/etc/zwaybot and %appdata%/zwaybot)
14 lines
219 B
Bash
14 lines
219 B
Bash
#!/bin/bash
|
|
|
|
# Read Settings
|
|
DIR=`dirname $0`
|
|
source $DIR/settings.cfg
|
|
cd $control_root
|
|
|
|
# Create Stop-Info!
|
|
touch $control_root/stop_server.info
|
|
|
|
echo "Shuting Down Server..."
|
|
./stuff.sh "/exit"
|
|
screen -R $screen_name
|