aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/installing/deploy.md6
-rw-r--r--docs/installing/manual_install.md10
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/installing/deploy.md b/docs/installing/deploy.md
index 721d74cff..fc5f9c58e 100644
--- a/docs/installing/deploy.md
+++ b/docs/installing/deploy.md
@@ -149,6 +149,12 @@ Back on the server:
If you're using Exim as your MTA, edit `etc/exim4/conf.d/04_alaveteli_options`
to update the `ALAVETELI_HOME` variable to the new Alaveteli path. Restart the MTA after you've made these changes.
+* You will also need to update the path to Alaveteli in your [init scripts]({{site.baseurl}}docs/installing/manual_install/#cron-jobs-and-init-scripts).
+ You should have a script for running the alert tracks
+ (`/etc/init.d/foi-alert-tracks`), and possibly scripts for purging the
+ varnish cache (`/etc/init.d/foi-purge-varnish`), and restarting the
+ app server (`/etc/init.d/alaveteli`).
+
Phew, you're done!
You can delete the temporary copy of Alaveteli (perhaps in your
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index 821188b85..603db14c0 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -480,6 +480,16 @@ by your deploy user (named `deploy` in this case).
deploy ALL = NOPASSWD: /etc/init.d/foi-alert-tracks, /etc/init.d/foi-purge-varnish
+There is also an example config for stopping and starting the
+Alaveteli app server as a service in `config/sysvinit.example`. This
+example assumes you're using Thin as an application server, so will
+need tweaking for Passenger or any other app server. You can install
+this by copying it to `/etc/init.d/alaveteli` and setting the
+`SITE_HOME` variable to the path where Alaveteli is running, and the
+`USER` variable to the Unix user that will be running Alaveteli. Once
+that's done, you can restart Alaveteli with `/etc/init.d/alaveteli
+restart`.
+
## Set up production web server
It is not recommended to run the website using the default Rails web server.