From 32e07385c2e17360def5079c254f529285ef1a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 24 May 2020 00:41:39 +0200 Subject: [PATCH] Remove service management in install/upgrade it's already done by uswsgi helper --- scripts/install | 8 -------- scripts/upgrade | 3 --- 2 files changed, 11 deletions(-) diff --git a/scripts/install b/scripts/install index c7771f2..0a44266 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 38b44a2..1904fc1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================