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

Remove service management in install/upgrade it's already done by uswsgi helper

This commit is contained in:
Josué Tille 2020-05-24 00:41:39 +02:00
parent 464c35057c
commit 32e07385c2
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 0 additions and 11 deletions

View file

@ -129,14 +129,6 @@ ynh_script_progression --message="Protecting directory"
# Set permissions to app files
set_permissions
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_print_info --message="Integrating service in YunoHost..."
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/app/$app"
#=================================================
# SETUP SSOWAT
#=================================================

View file

@ -74,9 +74,6 @@ then
yunohost service remove uwsgi-app@$app.service
fi
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/app/$app"
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================