From 471f45f1496bd1bc6571fa0b4275e7e7e1072b57 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 26 Jan 2021 12:10:47 +0100 Subject: [PATCH] Fix --- check_process | 3 +-- manifest.json | 8 ++++---- scripts/install | 4 ++-- scripts/restore | 1 + scripts/upgrade | 1 + 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/check_process b/check_process index 089936a..7523dbd 100644 --- a/check_process +++ b/check_process @@ -8,13 +8,12 @@ domain="domain.tld" (DOMAIN) path="/" (PATH) is_public=1 (PUBLIC|public=1|private=0) - port="9980" (PORT) ; Checks pkg_linter=1 setup_sub_dir=0 setup_root=1 setup_nourl=0 - setup_private=0 + setup_private=1 setup_public=1 upgrade=1 backup_restore=1 diff --git a/manifest.json b/manifest.json index ca92adb..a76830b 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "matterbridge", "packaging_format": 1, "description": { - "en": "matterbridge package for YunoHost.", - "fr": "matterbridge pour YunoHost." + "en": "Bridge between a series of chat protocols", + "fr": "Pont entre une série de protocoles de discussion" }, "version": "1.21.0~ynh1", "url": "https://github.com/42wim/matterbridge", @@ -35,10 +35,10 @@ "name": "is_public", "type": "boolean", "ask": { - "en": "Is it a public site ?", + "en": "Is it a public site?", "fr": "Est-ce un site public ?" }, - "default": "true" + "default": true } ] } diff --git a/scripts/install b/scripts/install index 0855653..e27f7d2 100644 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,7 @@ cp -a ../conf/matterbridge.toml $final_path/matterbridge.toml #================================================= # SETUP SYSTEMD #================================================= -ynh_script_progression --message="Configuring a systemd service..."--weight=1 +ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config @@ -90,7 +90,7 @@ yunohost service add $app --description="A short description of the app" --log=" #================================================= # Set permissions to app files -chmod +x $final_path/matterbridge +chmod +x $final_path/$app chown -R $app: $final_path #================================================= diff --git a/scripts/restore b/scripts/restore index cd3aa69..68f5fe1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -56,6 +56,7 @@ ynh_system_user_create --username=$app #================================================= # Restore permissions on app files +chmod +x $final_path/$app chown -R $app: $final_path #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 15338dd..e385bc7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,6 +118,7 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE" #================================================= # Set permissions on app files +chmod +x $final_path/$app chown -R $app: $final_path #=================================================