GameServerO / run.sh
Kano001's picture
Update run.sh
fbce868 verified
raw
history blame
338 Bytes
#!/bin/bash
service nginx start
python -m http.server --directory ./static --bind 0.0.0.0 7860 & echo $! > http_server.pid
chmod +x /home/pn/app/server.js
node server.js
chmod +x /home/pn/app/build/linuxBuild.x86_64
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
wait $!