diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-19 13:14:04 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-07-03 12:38:19 +0100 |
commit | 85163e9a7169025b91536ee43eeb72eb37d90fad (patch) | |
tree | 739a3c8dfe5b70a1b78d241af802a1b5669a99bf /docs/installing | |
parent | f425944c05feeba1a5ad471884474e5cce26a515 (diff) |
Add variables for purge varnish init script
Diffstat (limited to 'docs/installing')
-rw-r--r-- | docs/installing/manual_install.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index b9686f7a5..77f915283 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -420,6 +420,16 @@ useful to you. Change the variables to suit your installation. `config/purge-varnish-debian.ugly` is a similar init script, which is optional and not required if you choose not to run your site behind Varnish (see below). + +**Template Variables:** + +* `daemon_name`: The name of the daemon. Set this to `purge-varnish`. +* `vhost_dir`: the full path to the directory where alaveteli is checked out. + e.g. If your checkout is at `/var/www/alaveteli` then set this to `/var/www` +* `user`: the user that the software runs as + +This template does not yet have a rake task to generate it. + Either tweak the file permissions to make the scripts executable by your deploy user, or add the following line to your sudoers file to allow these to be run by your deploy user (named `deploy` in this case): |