blob: 0b41523e2d4dbb6b05216fa55688dd1b65e2c04f (
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 -i.bak -e '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!'
|