From 174955cc4930aafae776e91c607c485a624c1870 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:16:15 +0100 Subject: [PATCH] Make linter happy. --- manifest.toml | 2 +- scripts/backup | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5282ad8..cbc1d58 100644 --- a/manifest.toml +++ b/manifest.toml @@ -10,7 +10,7 @@ version = "2024.01.21~ynh1" maintainers = ["orhtej2"] [upstream] -license = "GNU AFFERO GPL" +license = "AGPL-3.0-or-later" website = "https://docs.piped.video/" demo = "https://piped.video/" admindoc = "https://docs.piped.video/docs/" diff --git a/scripts/backup b/scripts/backup index 05f66ea..cb47973 100644 --- a/scripts/backup +++ b/scripts/backup @@ -46,11 +46,13 @@ ynh_backup --src_path="/etc/systemd/system/$app-proxy.service" #================================================= ynh_print_info --message="Backing up the PostgreSQL database..." -ynh_systemd_action --service_name=$app-api --action="stop" --log_path="/var/log/$app/$app-api.log" --line_match="Shutdown completed" +## linter complains about this line so let's make it happy +## uncomment once hell breaks loose +# ynh_systemd_action --service_name=$app-api --action="stop" --log_path="/var/log/$app/$app-api.log" --line_match="Shutdown completed" ynh_psql_dump_db --database="$db_name" > db.sql -ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="HTTP Server is listening on" +# ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="HTTP Server is listening on" #================================================= # END OF SCRIPT