aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installing
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-06-19 13:27:23 +0100
committerGareth Rees <gareth@mysociety.org>2014-07-03 12:38:19 +0100
commit9365ff67895c28d94a8874cd0808a1b8472b1671 (patch)
tree3b1aa0e572755f08ae933037ab445121faaf70d8 /docs/installing
parent85163e9a7169025b91536ee43eeb72eb37d90fad (diff)
Minor updates to init script setup
Diffstat (limited to 'docs/installing')
-rw-r--r--docs/installing/manual_install.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index 77f915283..c84e0f145 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -430,11 +430,13 @@ and not required if you choose not to run your site behind Varnish (see below).
This template does not yet have a rake task to generate it.
+### Init script permissions
+
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):
+by your deploy user (named `deploy` in this case).
- deploy ALL = NOPASSWD: /etc/init.d/foi-alert-tracks, /etc/init.d/foi-purge-varnish
+ deploy ALL = NOPASSWD: /etc/init.d/foi-alert-tracks, /etc/init.d/foi-purge-varnish
## Set up production web server