1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

fix uwsgi

This commit is contained in:
Thomas 2024-09-30 19:30:18 +02:00 committed by GitHub
parent de34e2026a
commit 702b976f4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -118,6 +118,7 @@ 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 600 "/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"

View file

@ -79,6 +79,7 @@ fi
ynh_script_progression "Updating configuration..."
ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini"
chmod 600 "/etc/uwsgi/apps-available/$app.ini"
ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate"