1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

Fix service add

This commit is contained in:
yalh76 2022-07-19 15:19:59 +02:00
parent 35cfb3cd99
commit 3b29335854
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ ynh_exec_warn_less yunohost firewall allow Both 445 --no-upnp
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
# Don't add --needs_exposed_ports 445 , we don't want a remote diagnosis here
yunohost service add smbd --description="Samba service" --log="/var/log/smbd/smbd.log"
yunohost service add smbd --description="Samba service" --log="/var/log/smbd/smbd.log" --needs_exposed_ports 445
#=================================================
# START SYSTEMD SERVICE

View file

@ -67,7 +67,7 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
# Don't add --needs_exposed_ports 445 , we don't want a remote diagnosis here
yunohost service add smbd --description="Samba service" --log="/var/log/smbd/smbd.log"
yunohost service add smbd --description="Samba service" --log="/var/log/smbd/smbd.log" --needs_exposed_ports 445
#=================================================
# START SYSTEMD SERVICE