mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 07:28:25 +00:00
fix setup production
This commit is contained in:
parent
ac9b2bcf63
commit
36b6ffed9a
@ -1,4 +1,4 @@
|
||||
from .utils import get_program, exec_cmd, get_cmd_output, fix_file_perms
|
||||
from .utils import get_program, exec_cmd, get_cmd_output, fix_prod_setup_perms
|
||||
from .config import generate_nginx_config, generate_supervisor_config
|
||||
from jinja2 import Environment, PackageLoader
|
||||
import os
|
||||
@ -44,7 +44,7 @@ def copy_default_nginx_config():
|
||||
def setup_production(user, bench='.'):
|
||||
generate_supervisor_config(bench=bench, user=user)
|
||||
generate_nginx_config(bench=bench)
|
||||
fix_file_perms(frappe_user=user)
|
||||
fix_prod_setup_perms(frappe_user=user)
|
||||
remove_default_nginx_configs()
|
||||
|
||||
if is_centos7():
|
||||
|
Loading…
x
Reference in New Issue
Block a user