1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

Another try for install

This commit is contained in:
mh4ckt3mh4ckt1c4s 2023-02-12 22:14:41 +01:00
parent 992bf9d966
commit f56ad42de4

View file

@ -147,7 +147,6 @@ pip3 install -e "$final_path"
ynh_script_progression --message="Adding a configuration file..." --weight=1
secret_key=$(ynh_string_random)
# TODO : secret_key ???
ynh_add_config --template="../conf/settings.yml" --destination="$final_path/searx/settings.yml"
# FIXME: this should be handled by the core in the future
@ -165,13 +164,13 @@ chown $app:$app "$final_path/searx/settings.yml"
#### ADDED : SET PERMISSIONS ON SEARXNG DIRECTORY (CF SEARX SCRIPT)
chown -R $app: $final_path
chown -R $app:$app $final_path
#=================================================
# CONFIGURE UWSGI FOR SEARX
#=================================================
ynh_script_progression --message="Configuring uWSGI for Searx..." --weight=2
ynh_script_progression --message="Configuring uWSGI for SearXNG..." --weight=2
ynh_add_uwsgi_service