From 593e93bbb7152549a605e803b30cab27a199e64a Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:12:32 +0200 Subject: [PATCH] Update install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 64487f4..c4aad21 100755 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,9 @@ set_forge_variables ynh_config_add --template="settings.py" --destination="$settings" ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate" ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini" + chmod 640 "/etc/uwsgi/apps-available/$app.ini" +chown $app:$app "/etc/uwsgi/apps-available/$app.ini" touch "$install_dir/local_settings.py" ln -sf "$install_dir/local_settings.py" "$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/local_settings.py"