From 6d6fc194a8b58c78ecaedbb4f827bb11f48bc074 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Dec 2020 12:11:13 +0100 Subject: [PATCH] Fix linter warnings --- check_process | 2 -- manifest.json | 4 ++-- scripts/install | 2 +- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/check_process b/check_process index b09a1c7..058bf1f 100644 --- a/check_process +++ b/check_process @@ -16,8 +16,6 @@ multi_instance=0 port_already_use=0 change_url=0 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none \ No newline at end of file diff --git a/manifest.json b/manifest.json index 8298863..4bd95e3 100644 --- a/manifest.json +++ b/manifest.json @@ -48,8 +48,8 @@ "fr": "Est-ce un site public ?" }, "help": { - "en": "You must activate public site if you want to connect a client player to Navidrome. This can be changed later via the webadmin.", - "fr": "Vous devez activer site public si vous souhaitez connecter un lecteur client à Navidrome. Vous pourrez changer ceci plus tard via la webadmin." + "en": "If enabled, Invidious will be accessible by people who do not have an account. This can be changed later via the webadmin.", + "fr": "Si cette case est cochée, Invidious sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." }, "default": true }, diff --git a/scripts/install b/scripts/install index 98036f2..84faf74 100644 --- a/scripts/install +++ b/scripts/install @@ -188,7 +188,7 @@ chmod 0644 /etc/logrotate.d/$app #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description "Invidious is an alternative front-end to YouTube" +yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 9513bfc..2d2ea13 100644 --- a/scripts/restore +++ b/scripts/restore @@ -100,14 +100,14 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name ynh_script_progression --message="Restoring the systemd configuration..." --weight=5 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "Invidious is an alternative front-end to YouTube" +yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index edff2d8..978bfe5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -150,7 +150,7 @@ chmod 0644 /etc/logrotate.d/$app #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 -yunohost service add $app --description "Invidious is an alternative front-end to YouTube" +yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE