mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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:
parent
55d64d0fab
commit
26ee9274ca
1 changed files with 11 additions and 13 deletions
|
@ -90,19 +90,7 @@ set -x
|
|||
|
||||
ROOT=`pwd` # You can hard-code the path here instead.
|
||||
|
||||
### UPDATE WORKING COPIES ######################################################
|
||||
|
||||
cd $ROOT/libphutil
|
||||
git pull
|
||||
|
||||
cd $ROOT/arcanist
|
||||
git pull
|
||||
|
||||
cd $ROOT/phabricator
|
||||
git pull
|
||||
|
||||
|
||||
### CYCLE WEB SERVER AND DAEMONS ###############################################
|
||||
### STOP WEB SERVER AND DAEMONS ###############################################
|
||||
|
||||
# Stop daemons.
|
||||
$ROOT/phabricator/bin/phd stop
|
||||
|
@ -117,6 +105,16 @@ $ROOT/phabricator/bin/phd 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
|
||||
# this script to run noninteractively.
|
||||
|
|
Loading…
Reference in a new issue