2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00

[Modification] Added redis_celery_broker.conf and changes to redis_async_broker_conf to have bench_path as well

This commit is contained in:
shreyas 2016-02-23 19:26:28 +05:30 committed by Anand Doshi
parent 363fd2d04c
commit e00ad34f9e
3 changed files with 8 additions and 2 deletions

View File

@ -93,7 +93,8 @@ def generate_redis_celery_broker_config(bench='.'):
_generate_redis_config(
template_name='redis_celery_broker.conf',
context={
"port": get_config().get('redis_async_broker_port', '12311'),
"bench_path": os.path.abspath(bench)
},
bench=bench
)

View File

@ -1,3 +1,4 @@
dbfilename redis_async_broker.rdb
pidfile redis_async_broker.pid
port {{port}}
port {{port}}
bench_path {{bench_path}}

View File

@ -0,0 +1,4 @@
dbfilename redis_async_broker.rdb
pidfile redis_async_broker.pid
port {{port}}
bench_path {{bench_path}}