mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
revert
This commit is contained in:
parent
eca120a311
commit
2dd9da9033
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
||||||
# Needed for long running operations in admin interface
|
# Needed for long running operations in admin interface
|
||||||
uwsgi_read_timeout 3600;
|
uwsgi_read_timeout 3600;
|
||||||
# Adjust based to uwsgi configuration:
|
# Adjust based to uwsgi configuration:
|
||||||
uwsgi_pass 127.0.0.1:8080;
|
uwsgi_pass unix:///var/run/__NAME__/socket;
|
||||||
# uwsgi_pass 127.0.0.1:8080;
|
# uwsgi_pass 127.0.0.1:8080;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ RuntimeDirectory=__APP__
|
||||||
ExecStartPre=/bin/chown -R __APP__ /var/log/__APP__
|
ExecStartPre=/bin/chown -R __APP__ /var/log/__APP__
|
||||||
|
|
||||||
ExecStart=/usr/bin/uwsgi \
|
ExecStart=/usr/bin/uwsgi \
|
||||||
--ini __INSTALL_DIR__/venv/lib/__WEBLATE_PYPATH__/site-packages/weblate/__APP__.ini \
|
--ini /etc/uwsgi/apps-available/__APP__.ini \
|
||||||
--logto /var/log/__APP__/weblate.log
|
--logto /var/log/__APP__/weblate.log
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ set_forge_variables
|
||||||
|
|
||||||
ynh_add_config --template="../conf/settings.py" --destination="$settings"
|
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/celery-weblate" --destination="$install_dir/celery-weblate"
|
||||||
ynh_add_config --template="../conf/uwsgi.ini" --destination="$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/$app.ini"
|
ynh_add_config --template="../conf/uwsgi.ini" --destination="/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