mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
Merge branch 'testing' into convertv2
This commit is contained in:
commit
bfd07250d6
5 changed files with 8 additions and 4 deletions
|
@ -34,6 +34,7 @@ The MQTT broker mosquitto is integrated into the package. It requires its own do
|
|||
You may also install the mosquitto package without using the one provided by domoticz_ynh.
|
||||
|
||||
**Shipped version:** 2023.1~ynh2
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://domoticz.com/>
|
||||
|
|
|
@ -32,10 +32,8 @@ Il peut par exemple être utilisé avec :
|
|||
Le broker MQTT mosquitto est intégré au package et nécessite un sous-domaine ou un domaine distinct. Il est optionnel et si vous indiquez lors de l'installation le même domaine que le domaine principal, il ne sera pas installé.
|
||||
Vous pouvez également installer le package pour mosquitto sans utiliser celui de domoticz_ynh.
|
||||
|
||||
|
||||
|
||||
|
||||
**Version incluse :** 2023.1~ynh2
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://domoticz.com/>
|
||||
|
|
|
@ -18,7 +18,7 @@ NoNewPrivileges=yes
|
|||
PrivateTmp=yes
|
||||
#Private device restrict access to device in /dev/, so to any devices like razberry, zigate, etc.
|
||||
#PrivateDevices=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_BLUETOOTH
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
#Same : restrict access to devices
|
||||
|
|
|
@ -172,6 +172,8 @@ ynh_add_fail2ban_config --logpath="$log_file" --failregex="^.*Error: Failed logi
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring permissions..."
|
||||
|
||||
#remove the authentication header preventing login from 2023.2 and 11.2.3 onward
|
||||
ynh_permission_url --permission="main" --auth_header=false
|
||||
|
||||
#API & MQTT should stay publicly accessible.
|
||||
#ynh_permission_create --permission="domoticz_API" --label="api" --url="$domain$api_path" --allowed="visitors" --show_tile="false" --protected="true"
|
||||
|
|
|
@ -79,6 +79,9 @@ if [ -d "/var/log/$app/$app" ]; then
|
|||
ynh_secure_remove "/var/log/$app/$app"
|
||||
fi
|
||||
|
||||
#remove the authentication header preventing login from 2023.2 and 11.2.3 onward
|
||||
ynh_permission_url --permission="main" --auth_header=false
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue