Help Startup Script Optimization

Status
This thread has been locked.

Karagra

Feedback score
1
Posts
71
Reactions
5
Resources
0
How can I make this startup script better? I don't understand why but only half the servers come up. Is it the way I have it? Heres a example of just one server.
Code:
screen -S WaterFall -d -m
screen -S WaterFall -X stuff "cd /home/MC/Minigames/Waterfall
"
sleep 1
screen -S WaterFall -X stuff "bash /home/MC/Minigames/Waterfall/startup.sh
"
sleep 1
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

tassu

taavi.wtf
Premium
Feedback score
6
Posts
76
Reactions
11
Resources
0
Code:
screen -S WaterFall -d -m
screen -S WaterFall -X stuff "cd /home/MC/Minigames/Waterfall; ./startup.sh
"

That should work.
 
Status
This thread has been locked.
Top