fix: setup basic log files for CORE Lane
This commit is contained in:
parent
59ab46a335
commit
fcfe741b51
|
@ -107,12 +107,18 @@ def install_corepos(c, rootdir, rooturl_office, production=True,
|
|||
'mysql_password': mysql_password,
|
||||
'mysql_name_prefix': mysql_name_prefix})
|
||||
|
||||
# fannie logging
|
||||
# office logging
|
||||
mkdir(c, f'{is4c}/fannie/logs', use_sudo=True,
|
||||
owner=f'{user}:www-data', mode='0775')
|
||||
c.sudo(f"bash -c 'cd {is4c}/fannie/logs && touch fannie.log debug_fannie.log'",
|
||||
user='www-data')
|
||||
|
||||
# lane logging
|
||||
mkdir(c, f'{is4c}/pos/is4c-nf/log', use_sudo=True,
|
||||
owner=f'{user}:www-data', mode='0775')
|
||||
c.sudo(f"bash -c 'cd {is4c}/pos/is4c-nf/log && touch lane.log debug_lane.log'",
|
||||
user='www-data')
|
||||
|
||||
|
||||
# TODO: deprecate / remove this
|
||||
def install_fannie(c, rootdir, user='www-data', branch='version-2.10',
|
||||
|
|
Loading…
Reference in a new issue