bikabey2 commited on
Commit
d7997c8
·
verified ·
1 Parent(s): e5ee487

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +6 -4
entrypoint.sh CHANGED
@@ -19,18 +19,20 @@ fi
19
  echo "[INFO] Sunucu $RAM_ALLOC RAM ile baslatiliyor..."
20
  java -Xmx$RAM_ALLOC -Xms$RAM_ALLOC -jar server.jar nogui &
21
 
22
- # Wispy Byte VDS Bilgileri (Senin icin doldurdum)
 
23
  VDS_IP="212.227.64.179"
24
  VDS_PORT="12922"
25
 
26
  echo "[INFO] Wispy Byte VDS ($VDS_IP:$VDS_PORT) baglantisi kuruluyor..."
27
- # Bore tünelini senin VDS portuna (12922) yönlendiriyoruz
 
28
  /usr/local/bin/bore local 25565 --to $VDS_IP --port $VDS_PORT --secret vds_smp_gizli_sifre &
29
 
30
  echo "----------------------------------------------------"
31
  echo "BAGLANTI KURULDU!"
32
- echo "Oyuncular artik su adresten girebilir:"
33
- echo "$VDS_IP:$VDS_PORT"
34
  echo "----------------------------------------------------"
35
 
36
  tail -f /dev/null
 
 
 
19
  echo "[INFO] Sunucu $RAM_ALLOC RAM ile baslatiliyor..."
20
  java -Xmx$RAM_ALLOC -Xms$RAM_ALLOC -jar server.jar nogui &
21
 
22
+ # ... (Üst kısımlar aynı kalsın) ...
23
+
24
  VDS_IP="212.227.64.179"
25
  VDS_PORT="12922"
26
 
27
  echo "[INFO] Wispy Byte VDS ($VDS_IP:$VDS_PORT) baglantisi kuruluyor..."
28
+
29
+ # DİKKAT: Aşağıdaki satırda --port $VDS_PORT ekli olmalı!
30
  /usr/local/bin/bore local 25565 --to $VDS_IP --port $VDS_PORT --secret vds_smp_gizli_sifre &
31
 
32
  echo "----------------------------------------------------"
33
  echo "BAGLANTI KURULDU!"
 
 
34
  echo "----------------------------------------------------"
35
 
36
  tail -f /dev/null
37
+
38
+ tail -f /dev/null