From 917d4645a0286647fb33e84a12ead6bda78198ed Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 18 Feb 2019 00:55:33 +0100 Subject: [PATCH] Use 'yunohost service' in remove script --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 19e6bcd..a6bac88 100644 --- a/scripts/remove +++ b/scripts/remove @@ -36,8 +36,8 @@ domain=$(ynh_app_setting_get $app domain) firmware_nonfree=$(ynh_app_setting_get $app firmware_nonfree) # The End -systemctl stop ynh-hotspot -systemctl disable ynh-hotspot +yunohost service stop ynh-hotspot +yunohost service disable ynh-hotspot yunohost service remove ynh-hotspot ynh_secure_remove /etc/systemd/system/ynh-hotspot.service ynh_secure_remove /usr/local/bin/ynh-hotspot