mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Update install
This commit is contained in:
parent
ffd6609622
commit
593e93bbb7
1 changed files with 2 additions and 0 deletions
|
@ -118,7 +118,9 @@ set_forge_variables
|
||||||
ynh_config_add --template="settings.py" --destination="$settings"
|
ynh_config_add --template="settings.py" --destination="$settings"
|
||||||
ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate"
|
ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate"
|
||||||
ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini"
|
ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini"
|
||||||
|
|
||||||
chmod 640 "/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"
|
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"
|
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