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