1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

follow-up of previous commit : we probably need yunohost's lock to be able to trigger the regenconf from inside the service script

This commit is contained in:
Alexandre Aubin 2023-10-05 18:49:17 +02:00
parent bdd9224341
commit 3a72871641
3 changed files with 3 additions and 3 deletions

View file

@ -210,7 +210,7 @@ ynh_add_systemd_config --service="hostapd@$app" --template="../conf/systemd_host
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app"
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app" --need_lock
#=================================================
# START SYSTEMD SERVICE

View file

@ -108,7 +108,7 @@ ynh_restore_file --origin_path="/etc/systemd/system/hostapd@$app.service"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app"
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app" --need_lock
#=================================================
# START SYSTEMD SERVICE

View file

@ -252,7 +252,7 @@ ynh_add_systemd_config --service="hostapd@$app" --template="../conf/systemd_host
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app"
yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd@$app" --need_lock
#=================================================
# START SYSTEMD SERVICE