mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
Note where to stop/start php-fpm in upgrade example script
Summary: This isn't as explicit as it could be. Test Plan: Reading. Reviewers: poop Reviewed By: poop CC: aran Differential Revision: https://secure.phabricator.com/D7861
This commit is contained in:
parent
ad382b3abe
commit
db3228844a
2 changed files with 6 additions and 2 deletions
|
@ -33,13 +33,17 @@ $ROOT/phabricator/bin/phd stop
|
|||
# Stop the webserver (apache, nginx, lighttpd, etc). This command will differ
|
||||
# depending on which system and webserver you are running: replace it with an
|
||||
# appropriate command for your system.
|
||||
# NOTE: If you're running php-fpm, you should stop it here too.
|
||||
|
||||
sudo /etc/init.d/httpd stop
|
||||
|
||||
|
||||
# Upgrade the database schema. You may want to add the "--force" flag to allow
|
||||
# this script to run noninteractively.
|
||||
$ROOT/phabricator/bin/storage upgrade
|
||||
|
||||
# Restart the webserver. As above, this depends on your system and webserver.
|
||||
# NOTE: If you're running php-fpm, restart it here too.
|
||||
sudo /etc/init.d/httpd start
|
||||
|
||||
# Restart daemons.
|
||||
|
|
|
@ -155,10 +155,10 @@ See <https://bugs.php.net/bug.php?id=59747> for more information.
|
|||
Since Phabricator is under active development, you should update frequently. To
|
||||
update Phabricator:
|
||||
|
||||
- Stop the webserver.
|
||||
- Stop the webserver (including `php-fpm`, if you use it).
|
||||
- Run `git pull` in `libphutil/`, `arcanist/` and `phabricator/`.
|
||||
- Run `phabricator/bin/storage upgrade`.
|
||||
- Restart the webserver.
|
||||
- Restart the webserver (and `php-fpm`, if you stopped it earlier).
|
||||
|
||||
For more details, see @{article:Configuration Guide}. You can use a script
|
||||
similar to this one to automate the process:
|
||||
|
|
Loading…
Reference in a new issue