From 3fe387dfc4770cb8b9565ffd747225fe90390f0b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 30 Aug 2021 09:04:45 +0200 Subject: [PATCH] fix --- check_process | 15 ++++----------- conf/user.json | 6 ------ manifest.json | 2 +- scripts/install | 8 ++++---- 4 files changed, 9 insertions(+), 22 deletions(-) delete mode 100644 conf/user.json diff --git a/check_process b/check_process index 946bdf9..ce58826 100644 --- a/check_process +++ b/check_process @@ -1,15 +1,8 @@ -# See here for more informations -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - is_public=1 (PUBLIC|public=1|private=0) - password="pass" - port="9000" (PORT) + domain="domain.tld" + path="/path" + is_public=1 ; Checks pkg_linter=1 setup_sub_dir=1 @@ -18,7 +11,7 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=bd00c8e3ce43563f33fde073cf36b997c348d05c + #upgrade=1 from_commit=bd00c8e3ce43563f33fde073cf36b997c348d05c backup_restore=1 multi_instance=0 change_url=1 diff --git a/conf/user.json b/conf/user.json deleted file mode 100644 index 11ab357..0000000 --- a/conf/user.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "user": "USERTOCHANGE", - "password": "$2a$08$Ep", - "log": false, - "networks": [] -} diff --git a/manifest.json b/manifest.json index 0e8f148..0744e72 100644 --- a/manifest.json +++ b/manifest.json @@ -19,7 +19,7 @@ "email": "beudbeud@beudibox.fr" }, "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index f6abed4..8166ab4 100644 --- a/scripts/install +++ b/scripts/install @@ -66,10 +66,10 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Configuring system user..." +#ynh_script_progression --message="Configuring system user..." # Create a system user -ynh_system_user_create --username=$app +#ynh_system_user_create --username=$app #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -127,10 +127,10 @@ ynh_systemd_action --service_name=$app --action=start --log_path=systemd #--line #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Configuring permissions..." +#ynh_script_progression --message="Configuring permissions..." # Make app public if necessary or protect it -[ $is_public -eq 0 ] || ynh_permission_update --permission="main" --add="visitors" +#[ $is_public -eq 0 ] || ynh_permission_update --permission="main" --add="visitors" #================================================= # RELOAD NGINX