diff --git a/scripts/install b/scripts/install index c9f241b..058b6a7 100644 --- a/scripts/install +++ b/scripts/install @@ -308,7 +308,7 @@ fi #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $service_name --description "Creates a Wi-Fi access point" +yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index de487bf..c16e638 100644 --- a/scripts/restore +++ b/scripts/restore @@ -136,7 +136,7 @@ systemctl enable $service_name.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $service_name --description "Creates a Wi-Fi access point" +yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 59a7dfd..5397460 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -198,7 +198,7 @@ find ${final_path}/ -type d -exec chmod +x {} \; #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $service_name --description "Creates a Wi-Fi access point" +yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" #================================================= # START SYSTEMD SERVICE