aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-06-30 12:07:48 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-07 12:11:14 +0100
commita2bd0b63d5e5a02d3b5f4bcb8bb7363b93ee5cf1 (patch)
treecb1d547b4d5bc6158320d477c958eaa9334e0f37
parentddf42c240692095ca7426ca357903b2621e271b8 (diff)
Start alaveteli in production mode in sysvinit
Unlikely to want to use sysvinit in the current development setup, so default to starting in production mode for users who just copy this file on install.
-rwxr-xr-xconfig/sysvinit.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sysvinit.example b/config/sysvinit.example
index 728afc4ea..c5d1c9526 100755
--- a/config/sysvinit.example
+++ b/config/sysvinit.example
@@ -24,7 +24,7 @@ test -f $DAEMON || exit 0
set -e
start_daemon() {
- su -l -c "cd $SITE_HOME/alaveteli && bundle exec thin -d -p 3300 -e development start" $USER
+ su -l -c "cd $SITE_HOME/alaveteli && bundle exec thin -d -p 3300 -e production start" $USER
}
stop_daemon() {