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

fix firewall port warning

This commit is contained in:
HgO 2023-08-22 15:26:24 +02:00
parent 2a1aa43954
commit ee04b0449b
3 changed files with 3 additions and 3 deletions

View file

@ -220,7 +220,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" --needs_exposed_ports 547 67
#=================================================
# START SYSTEMD SERVICE

View file

@ -98,7 +98,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" --needs_exposed_ports 547 67
#=================================================
# START SYSTEMD SERVICE

View file

@ -248,7 +248,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" --needs_exposed_ports 547 67
#=================================================
# START SYSTEMD SERVICE