1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00

Change docs to be consistent with script

Summary:
Ref https://discourse.phabricator-community.org/t/upgrade-article-process-doesnt-match-script/2598.

I personally prefer "stop the server and then pull" to reduce the risk of scary "served half the request from one version and half from another", but I think this is hard to pull off with correctly configured APC caches.

Test Plan: Mk.1 eyeball

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D20391
This commit is contained in:
Austin McKinley 2019-04-10 12:25:10 -07:00
parent 55d64d0fab
commit 26ee9274ca

View file

@ -90,19 +90,7 @@ set -x
ROOT=`pwd` # You can hard-code the path here instead. ROOT=`pwd` # You can hard-code the path here instead.
### UPDATE WORKING COPIES ###################################################### ### STOP WEB SERVER AND DAEMONS ###############################################
cd $ROOT/libphutil
git pull
cd $ROOT/arcanist
git pull
cd $ROOT/phabricator
git pull
### CYCLE WEB SERVER AND DAEMONS ###############################################
# Stop daemons. # Stop daemons.
$ROOT/phabricator/bin/phd stop $ROOT/phabricator/bin/phd stop
@ -117,6 +105,16 @@ $ROOT/phabricator/bin/phd stop
sudo /etc/init.d/httpd stop sudo /etc/init.d/httpd stop
### UPDATE WORKING COPIES ######################################################
cd $ROOT/libphutil
git pull
cd $ROOT/arcanist
git pull
cd $ROOT/phabricator
git pull
# Upgrade the database schema. You may want to add the "--force" flag to allow # Upgrade the database schema. You may want to add the "--force" flag to allow
# this script to run noninteractively. # this script to run noninteractively.