-
Notifications
You must be signed in to change notification settings - Fork 1
/
kickstart
executable file
·31 lines (24 loc) · 1.04 KB
/
kickstart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
# run from project dir
echo "killing running trackermain process... "
echo "(will fail to kill ps proc)"
kill $(ps aux | grep trackermain | awk '{print $2}') # kill trackermain
# kill $(ps aux | grep tile-server | awk '{print $2}') #kill any running node tileservers
#mbtiles_file=word_countries.mbtiles
#mbtiles_file=tiles-world-simple.mbtiles
# mbtiles_file=tiles-world-utfgrid.mbtiles
#mbtiles_file=tiles-world-vector.mbtiles
pushd $HOME/track.areteh.co/;
./linux.trackermain \
--port=3001 \
--disable-websocket \
--forward-url https://api.catonmap.info/populate/ \
--tracks-gz-path ./master.json.gz \
--log-path $HOME/track.areteh.co/logs.log \
--db-path-master ./tracks.db &
# node tile-server.js $mbtiles_file 8080 2>&1 &
popd;
# This one may work too, but chat still won't turn on, probably.
# nohup $HOME/goggable.areteh.co/gogs/linux.gogs web -c $HOME/goggable.areteh.co/gogs/custom/conf/prod.app.ini &
# This one definitely works, but chat won't turn on.
# nohup $HOME/goggable.areteh.co/gogs/gogs web > $HOME/glogs/goggable.log &