www/py-rhodecode: fix rc.d script

- Minor fixes to the rc.d script
- Add pytz and repoze.lru as run dependencies

Submitted by:	Chad Milios <cropcirclesystems yahoo.com> (via email)
This commit is contained in:
William Grzybowski 2013-08-28 21:12:38 +00:00
parent 7d038ecb7e
commit 2d819ab44b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325553
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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