1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00

Make linter happy.

This commit is contained in:
orhtej2 2024-01-28 23:16:15 +01:00
parent ec48f391bb
commit 174955cc49
2 changed files with 5 additions and 3 deletions

View file

@ -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/"

View file

@ -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