diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-19 11:45:42 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-26 12:21:47 +0100 |
commit | 8e6a72122de1d47a45e7e190b961f4c0a23e52d5 (patch) | |
tree | 50598c501a5de0ce783f05e42e16e958645f4293 /docs/installing/manual_install.md | |
parent | 359582ff3d981680cc6a9997e1a96381d7341866 (diff) |
config_files:convert_crontab now allows MAILTO
No longer have to manually edit the crontab as MAILTO can be specified
when generating the file.
Diffstat (limited to 'docs/installing/manual_install.md')
-rw-r--r-- | docs/installing/manual_install.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index bf2f9b7cd..4122aa181 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -385,6 +385,7 @@ The `ugly` format uses simple variable substitution. A variable looks like replaced with `/var/www/alaveteli` in your cron tab * `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 There is a rake task that will help to rewrite this file into one that is useful to you, which can be invoked with: @@ -394,11 +395,11 @@ useful to you, which can be invoked with: VHOST_DIR=/dir/above/alaveteli \ VCSPATH=alaveteli \ SITE=alaveteli \ + MAILTO=cron-alaveteli@example.org \ CRONTAB=config/crontab-example > crontab -You should change the `DEPLOY_USER`, `VHOST_DIR`, `VCSPATH` and `SITE` -environment variables to match your server and installation. You should also -edit the resulting `crontab` file to customize the `MAILTO` variable. +You should change the `DEPLOY_USER`, `VHOST_DIR`, `VCSPATH` `MAILTO` and `SITE` +environment variables to match your server and installation. One of the cron jobs refers to a script at `/etc/init.d/foi-alert-tracks`. This is an init script, a copy of which lives in `config/alert-tracks-debian.ugly`. |