From 4a2cfab649522f2a6d61fbd7e76e6dfc882b14cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 11 Dec 2020 09:12:07 +0100 Subject: [PATCH] Testing (#9) * Fix linter warnings --- check_process | 2 -- manifest.json | 2 +- scripts/install | 2 +- scripts/restore | 6 +++--- scripts/upgrade | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/check_process b/check_process index 6b14be7..7e9587d 100644 --- a/check_process +++ b/check_process @@ -17,8 +17,6 @@ multi_instance=0 port_already_use=0 change_url=1 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none diff --git a/manifest.json b/manifest.json index 6a2b82e..5ddb1eb 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted file storage server", "fr": "Serveur de stockage de fichiers auto-hébergé" }, - "version": "12.2.0~ynh2", + "version": "12.2.0~ynh3", "url": "https://github.com/silverwind/droppy", "license": "BSD-2-Clause", "maintainer": { diff --git a/scripts/install b/scripts/install index dd84c0e..abcd2d4 100644 --- a/scripts/install +++ b/scripts/install @@ -160,7 +160,7 @@ chmod 755 $final_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description "Self-hosted file storage server" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 13dfe47..68514d2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -89,21 +89,21 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version ynh_script_progression --message="Restoring the systemd configuration..." --weight=3 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # RESTORE VARIOUS FILES #================================================= ynh_restore_file "/home/yunohost.app/$app" -chown -R "$app:$app" "/home/yunohost.app/$app" +chown -R $app:$app "/home/yunohost.app/$app" #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description "Self-hosted file storage server" --log "/var/log/$app/$app.log" +yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 308860d..119d625 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,7 +165,7 @@ chmod 755 $final_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description "Self-hosted file storage server" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE