diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-19 11:32:06 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-25 11:34:38 +0100 |
commit | a6c11111cd7247511bea3f1de7c42ff5deaa1c3f (patch) | |
tree | be011c0821d2d4d1bb7bf936bd47657de26792c6 /script/rails-deploy-before-down | |
parent | a9389e60e3e2f912ef3131351ab37551a3929a2a (diff) |
Add MAILTO option to convert_crontab task
Less manual editing for reinstallers.
Existing backwards-compatibility:
$ bundle exec rake config_files:convert_crontab \
DEPLOY_USER=deploy \
VHOST_DIR=/home/vagrant/ \
VCSPATH=alaveteli \
SITE=alaveteli \
CRONTAB=config/crontab-example | grep 'MAILTO='
MAILTO=cron-alaveteli@mysociety.org
New optional MAILTO option:
$ bundle exec rake config_files:convert_crontab \
DEPLOY_USER=deploy \
VHOST_DIR=/home/vagrant/ \
VCSPATH=alaveteli \
SITE=alaveteli
CRONTAB=config/crontab-example \
MAILTO=cron@example.org | grep 'MAILTO='
MAILTO=cron@example.org
Diffstat (limited to 'script/rails-deploy-before-down')
0 files changed, 0 insertions, 0 deletions