aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-19 14:48:08 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-21 17:38:22 +0100
commitca8ee4472040c05eb3cf85f2203f8129e9d96e03 (patch)
tree103c41c0abdcf0c06d331d8c82cbcc418451781f
parent3f0e6a948636d8c645cfaeedd356ea68897b14a9 (diff)
Set mail recipient as alaveteli user in example
To avoid errors if only local delivery is set up.
-rw-r--r--docs/installing/manual_install.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index e3ac6787d..c2a590147 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -465,10 +465,10 @@ and then drop it in `/etc/cron.d/` on the server.
e.g. `alaveteli`
* `user`: the user that the software runs as
* `site`: a string to identify your alaveteli instance
-* `mailto`: The email address that cron output will be sent to
+* `mailto`: The email address or local account that cron output will be sent to - setting an email address depends on your MTA having been configured for remote delivery.
There is a rake task that will help to rewrite this file into one that is
-useful to you. Change the variables to suit your installation.
+useful to you. This example sends cron output to the local `alaveteli` user. Change the variables to suit your installation.
pushd /var/www/alaveteli
bundle exec rake config_files:convert_crontab \
@@ -476,7 +476,7 @@ useful to you. Change the variables to suit your installation.
VHOST_DIR=/var/www \
VCSPATH=alaveteli \
SITE=alaveteli \
- MAILTO=cron-alaveteli@example.org \
+ MAILTO=alaveteli \
CRONTAB=/var/www/alaveteli/config/crontab-example > /etc/cron.d/alaveteli
popd