From 0b803e4fb288e0cfe09a1a3ec30be0585362df02 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 18 Feb 2019 01:07:31 +0100 Subject: [PATCH] During upgrade : make sure that the yunohost service has a description and need-lock enabled --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index ac93d75..b4be8dc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -52,4 +52,7 @@ if [[ -z $(ynh_app_setting_get $app ip6_firewall) ]]; then ynh_app_setting_set "${app}" ip6_firewall "${ip6_firewall}" fi +# Make sure that the yunohost service has a description and need-lock enabled +yunohost service remove ynh-hotspot +yunohost service add ynh-hotspot --description "creates a Wi-Fi access point" --need_lock yunohost service start ynh-hotspot