diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-07 16:58:23 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-21 17:38:19 +0100 |
commit | 20abfbc8ae03c08eebb48c9316309c3650c0655e (patch) | |
tree | 028961f24631e5c21daa00452936633049fa526c /docs/installing/manual_install.md | |
parent | e7b7bb92a174ffa51092978db2b187ab7876ff7f (diff) |
Use service to restart the application servers
Diffstat (limited to 'docs/installing/manual_install.md')
-rw-r--r-- | docs/installing/manual_install.md | 15 |
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 --- |