1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefish_ynh.git synced 2024-09-03 18:36:06 +02:00

Merge pull request #10 from YunoHost-Apps/testing

Fix warnings linter
This commit is contained in:
oufmilo 2024-01-23 16:43:14 +01:00 committed by GitHub
commit 12e57a1c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ upgrade_type=$(ynh_check_app_version_changed)
ynh_script_progression --message="Stopping a systemd service..." --weight=1
# Stop service before backup, to not loose message in case of failed upgrade and restore
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped"
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
@ -130,7 +130,7 @@ yunohost service add $app --description="A interplanetary blogging platform" --l
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="All workers started"
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
#=================================================