1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Merge branch 'testing'

This commit is contained in:
Josué Tille 2021-03-14 15:30:33 +01:00
commit 8c9f3fada5
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 7 additions and 3 deletions

View file

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

View file

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