Commit 2720c02c authored by Fardale's avatar Fardale

add script to upgrade phabricator

parent 37edbc6b
......@@ -28,7 +28,7 @@ sudo -u phabricator git pull
### CYCLE WEB SERVER AND DAEMONS ###############################################
# Stop daemons.
sudo -u phabricator $ROOT/phabricator/bin/phd stop
sudo -u phabricator $ROOT/phabricator/bin/phd stop --force
# If running the notification server, stop it.
# $ROOT/phabricator/bin/aphlict stop
......@@ -37,7 +37,8 @@ sudo -u phabricator $ROOT/phabricator/bin/phd stop
# 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 monit unmonitor nginx
sudo monit unmonitor php7.3-fpm
sudo systemctl stop nginx.service
sudo systemctl stop php7.3-fpm.service
......@@ -49,6 +50,8 @@ sudo -u phabricator $ROOT/phabricator/bin/storage upgrade
# NOTE: If you're running php-fpm, restart it here too.
sudo systemctl start nginx.service
sudo systemctl start php7.3-fpm.service
sudo monit monitor nginx
sudo monit monitor php7.3-fpm
# Restart daemons.
$ROOT/phabricator/bin/phd start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment