mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
www: chown /var/www/html to www-data
This commit is contained in:
@@ -819,7 +819,7 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
|
|||||||
if build_dir:
|
if build_dir:
|
||||||
www_path = build_webpages(src_dir, build_dir, config)
|
www_path = build_webpages(src_dir, build_dir, config)
|
||||||
# if it is not a hugo page, upload it as is
|
# if it is not a hugo page, upload it as is
|
||||||
files.rsync(f"{www_path}/", "/var/www/html", flags=["-avz"])
|
files.rsync(f"{www_path}/", "/var/www/html", flags=["-avz", "--chown=www-data"])
|
||||||
|
|
||||||
_install_remote_venv_with_chatmaild(config)
|
_install_remote_venv_with_chatmaild(config)
|
||||||
debug = False
|
debug = False
|
||||||
|
|||||||
Reference in New Issue
Block a user