aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-08-07 16:58:23 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-21 17:38:19 +0100
commit20abfbc8ae03c08eebb48c9316309c3650c0655e (patch)
tree028961f24631e5c21daa00452936633049fa526c
parente7b7bb92a174ffa51092978db2b187ab7876ff7f (diff)
Use service to restart the application servers
-rw-r--r--docs/installing/manual_install.md15
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index 2d3a3aff2..b63a137f4 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -674,7 +674,8 @@ Check the configuration and fix any issues
apachectl configtest
-Restart apache to load the new Alaveteli config
+Restart apache to load the new Alaveteli config. This will also restart
+Passenger (the application server).
service apache2 graceful
@@ -701,14 +702,7 @@ Check the configuration and fix any issues
Start the rails application with thin (if you haven't already).
- cd /var/www/alaveteli
- bundle exec thin \
- --environment=production \
- --user=alaveteli \
- --group=alaveteli \
- --address=127.0.0.1 \
- --daemonize \
- start
+ service alaveteli start
Reload the nginx configuration
@@ -748,9 +742,10 @@ Check the configuration and fix any issues
service nginx configtest
-Reload the new nginx configuration
+Reload the new nginx configuration and restart the application
service nginx reload
+ service alaveteli restart
---