mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
fix
This commit is contained in:
parent
f7b1b5d3fa
commit
473765263f
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ plugins = python3
|
|||
master = true
|
||||
protocol = uwsgi
|
||||
socket = /var/run/__APP__/socket
|
||||
wsgi-file = /etc/uwsgi/apps-available/__APP__.ini
|
||||
wsgi-file = __INSTALL_DIR__/venv/lib/$weblate_pypath/site-packages/weblate/__APP__.ini
|
||||
|
||||
# Add path to Weblate checkout if you did not install
|
||||
# Weblate by pip
|
||||
|
|
|
@ -128,7 +128,7 @@ set_forge_variables
|
|||
|
||||
ynh_add_config --template="../conf/settings.py" --destination="$settings"
|
||||
ynh_add_config --template="../conf/celery-weblate" --destination="$install_dir/celery-weblate"
|
||||
ynh_add_config --template="../conf/uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini"
|
||||
ynh_add_config --template="../conf/uwsgi.ini" --destination="$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/$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"
|
||||
|
|
Loading…
Reference in a new issue