mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Fix linter warning
This commit is contained in:
parent
2317852375
commit
3d4de89f14
2 changed files with 7 additions and 3 deletions
|
@ -124,3 +124,9 @@ ynh_remove_uwsgi_service () {
|
||||||
ynh_secure_remove --file="/etc/systemd/system/uwsgi-app@$app.service.d"
|
ynh_secure_remove --file="/etc/systemd/system/uwsgi-app@$app.service.d"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ynh_restore_uwsgi_service () {
|
||||||
|
ynh_check_global_uwsgi_config
|
||||||
|
systemctl enable "uwsgi-app@$app" --quiet
|
||||||
|
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
|
||||||
|
}
|
||||||
|
|
|
@ -83,9 +83,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
|
||||||
|
|
||||||
ynh_script_progression --message="Reloading services..." --weight=3
|
ynh_script_progression --message="Reloading services..." --weight=3
|
||||||
|
|
||||||
ynh_check_global_uwsgi_config
|
ynh_restore_uwsgi_service
|
||||||
systemctl enable "uwsgi-app@$app" --quiet
|
|
||||||
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue