--- conf/aeolus-conductor | 3 ++- conf/aeolus-conductor.sysconf | 3 +++ 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/conf/aeolus-conductor b/conf/aeolus-conductor index b525ec1..677355c 100755 --- a/conf/aeolus-conductor +++ b/conf/aeolus-conductor @@ -15,6 +15,7 @@ RAILS_ENV="${RAILS_ENV:-production}" CONDUCTOR_DIR="${CONDUCTOR_DIR:-/usr/share/aeolus-conductor}" CONDUCTOR_USER="${CONDUCTOR_USER:-aeolus}" +CONDUCTOR_GROUP="${CONDUCTOR_GROUP:-aeolus}" THIN_PROG="${THIN_PROG:-thin}" THIN_PID="${THIN_PID:-/var/run/aeolus-conductor/thin.pid}" THIN_LOG="${THIN_LOG:-/var/log/aeolus-conductor/thin.log}" @@ -38,7 +39,7 @@ start() { fi
$THIN_PROG start -c "$CONDUCTOR_DIR" -l "$THIN_LOG" -P "$THIN_PID" \ - -a $ADDR -e $RAILS_ENV --user $CONDUCTOR_USER -d --prefix=$PREFIX \ + -a $ADDR -e $RAILS_ENV --user $CONDUCTOR_USER -g $CONDUCTOR_GROUP -d --prefix=$PREFIX \ --rackup "$CONDUCTOR_DIR/config.ru" RETVAL=$? if [ $RETVAL -eq 0 ] ; then diff --git a/conf/aeolus-conductor.sysconf b/conf/aeolus-conductor.sysconf index 63bc0ee..74d73e4 100644 --- a/conf/aeolus-conductor.sysconf +++ b/conf/aeolus-conductor.sysconf @@ -4,6 +4,9 @@ # user under which Rails application runs #CONDUCTOR_USER=aeolus
+# group under which Rails application runs +#CONDUCTOR_GROUP=aeolus + # location of the thin program #THIN_PROG=thin