1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
This commit is contained in:
ericgaspar 2021-09-06 09:44:35 +02:00
commit 9c4f5df93f
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 11 additions and 3 deletions

View file

@ -8,4 +8,4 @@
"credential": "secret",
"credentialType": "hmac-sha1"
}
]
]

View file

@ -1,5 +1,5 @@
location / {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;

View file

@ -10,6 +10,8 @@ User=__APP__
Group=__APP__
ExecStart=__FINALPATH__/galene -turn __PUBLIC_IP4__:__TURN_PORT__ -udp-range 49152-65535 -groups /home/yunohost.app/__APP__/groups -recordings /home/yunohost.app/__APP__/recordings
LimitNOFILE=65536
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
[Install]
WantedBy=multi-user.target

View file

@ -140,7 +140,7 @@ public_ip4="$(curl -s ip.yunohost.org)" || true
ynh_add_systemd_config
#=================================================
# MODIFY A CONFIG FILE
# MODIFY A CONFIG FILES
#=================================================
# Create a group name config

View file

@ -50,6 +50,12 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If open, close direct access to $port in firewall
if yunohost firewall list | grep -q "\- $port$"
then
ynh_exec_warn_less yunohost firewall disallow TCP $port
fi
# If final_path doesn't exist, create it
if [ -z "$final_path" ]; then
final_path=/opt/yunohost/$app