summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-rhodecode/Makefile2
-rw-r--r--www/py-rhodecode/files/rhodecode.in6
2 files changed, 6 insertions, 2 deletions
diff --git a/www/py-rhodecode/Makefile b/www/py-rhodecode/Makefile
index 72d415824726..1510253983b0 100644
--- a/www/py-rhodecode/Makefile
+++ b/www/py-rhodecode/Makefile
@@ -32,6 +32,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylons>=1.0:${PORTSDIR}/www/py-pylons \
${PYTHON_PKGNAMEPREFIX}bcrypt>=0.2:${PORTSDIR}/security/py-bcrypt \
${PYTHON_PKGNAMEPREFIX}simplejson>=2.5.2:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}PasteScript>=1.6.3:${PORTSDIR}/www/py-pastescript \
+ ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
+ ${PYTHON_PKGNAMEPREFIX}repoze.lru>=0:${PORTSDIR}/devel/py-repoze.lru \
mercurial>=2.6:${PORTSDIR}/devel/mercurial
USE_PYTHON= -2.7
diff --git a/www/py-rhodecode/files/rhodecode.in b/www/py-rhodecode/files/rhodecode.in
index 21fbc98c17df..7ea469d7dabe 100644
--- a/www/py-rhodecode/files/rhodecode.in
+++ b/www/py-rhodecode/files/rhodecode.in
@@ -21,10 +21,12 @@
name="rhodecode"
rcvar=rhodecode_enable
+load_rc_config ${name}
+
: ${rhodecode_enable="NO"}
-: ${rhodecode_config="%%PREFIX%%/rhodecode/production.ini"}
-: ${rhodecode_user="www"}
+: ${rhodecode_config="%%PREFIX%%/etc/rhodecode/production.ini"}
: ${rhodecode_user="www"}
+: ${rhodecode_group="www"}
pidfile="/var/run/${name}.pid"
command=%%PREFIX%%/bin/paster