Skip to content

Commit e486536

Browse files
committed
fix(script): better update of stage / prod servers ... git reset, etc...
1 parent 62d991e commit e486536

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/bolt/restart-gl.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ do
1212
echo "restarting gl tileserver on $m"
1313

1414
# step 2: nuke the existing GL stuff
15+
bolt command run "cd $OMT_DIR; git reset --hard HEAD" --targets $m
1516
bolt command run "update.sh; cd $OMT_DIR; ./scripts/nuke.sh ALL" --targets $m
1617

1718
# step 3: restart GL
18-
bolt command run "cd $OMT_DIR/gl; run-nohup.sh" --targets $m
19+
bolt command run "cd $OMT_DIR; ./scripts/gen_hostname_txt.sh" --targets $m
20+
bolt command run "cd $OMT_DIR/gl/; ./run-nohup.sh" --targets $m
1921
done

0 commit comments

Comments
 (0)