Touch fannie.log
when installing CORE Office
This commit is contained in:
parent
8bafaef796
commit
3f931445a0
|
@ -104,9 +104,9 @@ def install_corepos(c, rootdir, rooturl_office, production=True,
|
||||||
'mysql_name_prefix': mysql_name_prefix})
|
'mysql_name_prefix': mysql_name_prefix})
|
||||||
|
|
||||||
# fannie logging
|
# fannie logging
|
||||||
mkdir(c, '{}/fannie/logs'.format(is4c), use_sudo=True,
|
mkdir(c, f'{is4c}/fannie/logs', use_sudo=True,
|
||||||
owner='{}:www-data'.format(user), mode='0775')
|
owner=f'{user}:www-data', mode='0775')
|
||||||
c.sudo('touch {}/fannie/logs/debug_fannie.log'.format(is4c),
|
c.sudo(f"bash -c 'cd {is4c}/fannie/logs && touch fannie.log debug_fannie.log'",
|
||||||
user='www-data')
|
user='www-data')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue