libra virtualization

This commit is contained in:
fred 2023-09-25 14:50:48 +02:00
parent 1ce78004e8
commit e58ca592ac
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ while true; do
if [[ ${arr[0]} == "poule" ]]; then
echo "UPDATING CODE git pull > ~/.zen/tmp/.lastpull"
echo "$HTTPCORS" > ~/.zen/tmp/.lastpull
cd ~/.zen/Astroport.ONE
git pull >> ~/.zen/tmp/.lastpull
rm ~/.zen/game/players/localhost/latest
(cat ~/.zen/tmp/.lastpull | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && continue