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

fix permission

This commit is contained in:
Thomas 2024-09-30 20:04:08 +02:00 committed by GitHub
parent 702b976f4f
commit ffd6609622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +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"
chmod 640 "/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"