mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +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:
parent
363fd2d04c
commit
e00ad34f9e
@ -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
|
||||
)
|
||||
|
@ -1,3 +1,4 @@
|
||||
dbfilename redis_async_broker.rdb
|
||||
pidfile redis_async_broker.pid
|
||||
port {{port}}
|
||||
bench_path {{bench_path}}
|
||||
|
4
bench/templates/redis_celery_broker.conf
Normal file
4
bench/templates/redis_celery_broker.conf
Normal file
@ -0,0 +1,4 @@
|
||||
dbfilename redis_async_broker.rdb
|
||||
pidfile redis_async_broker.pid
|
||||
port {{port}}
|
||||
bench_path {{bench_path}}
|
Loading…
Reference in New Issue
Block a user