blob: c680146b9e2ae8789076ae1a705b2674c61fd463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
echo 'Deploying...'
./init.sh
if [ -f "${HOME}/rse_server.pid" ]
then
pkill $(cat ${HOME}/rse_server.pid)
fi
sed -e -i.bak 's/http:\/\/z.kaotisk\-hund.com:8610/https:\/\/api.radio.arching\-kaos.com/g' client/js/radio_emulator.js create_static_list.sh
cd server
node index.js >> ${HOME}/rse_server.log 2>&1 &
echo $! > ${HOME}/rse_server.pid
echo 'Deployed!'
|