diff --git a/conf/celery-weblate.service b/conf/celery-weblate.service index 337cf35..a033ad6 100644 --- a/conf/celery-weblate.service +++ b/conf/celery-weblate.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=forking User=__APP__ -Group=__APP__ +Group=www-data PermissionsStartOnly=true EnvironmentFile=__FINALPATH__/celery-weblate WorkingDirectory=__FINALPATH__/ diff --git a/scripts/install b/scripts/install index 1993684..5a34320 100755 --- a/scripts/install +++ b/scripts/install @@ -188,6 +188,7 @@ virtualenv --python=python3 "${final_path}/venv" pip install --upgrade pip # prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers" pip install --upgrade setuptools + pip install Django==2.2.* pip install Weblate=="$current_version" pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml # specific to YunoHost package: diff --git a/scripts/upgrade b/scripts/upgrade index 17f36a3..72b96b7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -181,6 +181,7 @@ ynh_script_progression --message="Install weblate using PIP..." --weight=10 pip install --upgrade pip # prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers" pip install --upgrade setuptools + pip install Django==2.2.* pip install Weblate=="$current_version" pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml # specific to YunoHost package: