2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Fix Procfile for version 5

This commit is contained in:
Pratik Vyas 2015-03-31 15:50:03 +05:30
parent 67c526a8e6
commit 3131fb8103

View File

@ -89,6 +89,7 @@ def setup_procfile(bench='.'):
}
if frappe_version > 4:
procfile_contents['redis_cache'] = "redis-server config/redis.conf"
procfile_contents['web'] = "bench serve"
procfile = '\n'.join(["{0}: {1}".format(k, v) for k, v in procfile_contents.items()])