1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Merge branch 'datadir' of https://github.com/YunoHost-Apps/galene_ynh into datadir

This commit is contained in:
Éric Gaspar 2024-06-14 11:49:17 +02:00
commit e2d6a8ea11
13 changed files with 20 additions and 20 deletions

View file

@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- Command-line client for Galene file transfer
**Shipped version:** 0.9~ynh1
**Shipped version:** 0.9~ynh2
**Demo:** <https://galene.org:8443/>

View file

@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- Command-line client for Galene file transfer
**Versión actual:** 0.9~ynh1
**Versión actual:** 0.9~ynh2
**Demo:** <https://galene.org:8443/>

View file

@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- Command-line client for Galene file transfer
**Paketatutako bertsioa:** 0.9~ynh1
**Paketatutako bertsioa:** 0.9~ynh2
**Demoa:** <https://galene.org:8443/>

View file

@ -31,7 +31,7 @@ Galène est un serveur de visioconférence (un « SFU ») facile à déployer et
- Client en ligne de commande pour le transfert de fichiers Galene
**Version incluse:** 0.9~ynh1
**Version incluse:** 0.9~ynh2
**Démo:** <https://galene.org:8443/>

View file

@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- Command-line client for Galene file transfer
**Versión proporcionada:** 0.9~ynh1
**Versión proporcionada:** 0.9~ynh2
**Demo:** <https://galene.org:8443/>

View file

@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- Command-line client for Galene file transfer
**分发版本:** 0.9~ynh1
**分发版本:** 0.9~ynh2
**演示:** <https://galene.org:8443/>

View file

@ -4,7 +4,7 @@
"users": {
"__ADMIN__": {
"permissions": "admin",
"password": "__PASSWORD_HASH__"
"password": __PASSWORD_HASH__
}
}
}

View file

@ -1,5 +1,5 @@
"users": {
"__ADMIN__": {"permissions": "op", "password": "__PASSWORD_HASH__"},
"__ADMIN__": {"permissions": "op", "password": __PASSWORD_HASH__},
"description": "__GROUP_DESCRIPTION__",
"public": true,
"allow-recording": true,

View file

@ -8,7 +8,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/live/
ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __INSTALL_DIR__/live/data/ -static __INSTALL_DIR__/live/static
ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __DATA_DIR__/data/ -static __INSTALL_DIR__/live/static
LimitNOFILE=65536
# Sandboxing options to harden security

View file

@ -5,7 +5,7 @@ name = "Galène"
description.en = "Videoconferencing server that is easy to deploy"
description.fr = "Serveur de visioconférence facile à déployer"
version = "0.9~ynh1"
version = "0.9~ynh2"
maintainers = ["eric_G"]
@ -18,7 +18,7 @@ userdoc = "https://galene.org/faq.html"
code = "https://github.com/jech/galene"
[integration]
yunohost = ">= 11.2.12"
yunohost = ">= 11.2.14"
architectures = "all"
multi_instance = false

View file

@ -43,7 +43,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=2
domain="$new_domain"
# Configure Galene
# Configure Galène
ynh_add_config --template="config.json" --destination="$data_dir/data/config.json"
chmod 400 "$data_dir/data/config.json"
chown $app:$app "$data_dir/data/config.json"

View file

@ -84,9 +84,9 @@ password_hash=$(echo $($install_dir/galene-password-generator $password))
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
# Configure Galène
ynh_add_config --template="config.json" --destination="$install_dir/live/data/config.json"
chmod 400 "$install_dir/live/data/config.json"
chown $app:$app "$install_dir/live/data/config.json"
ynh_add_config --template="config.json" --destination="$install_dir/data/config.json"
chmod 400 "$install_dir/data/config.json"
chown $app:$app "$install_dir/data/config.json"
# Configure Galène LDAP
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')

View file

@ -115,9 +115,9 @@ chmod 400 "$install_dir/live_ldap/data/galene-ldap.json"
chown $app:$app "$install_dir/live_ldap/data/galene-ldap.json"
# Create a group name config
#ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json"
#chmod 400 "$data_dir/groups/$group_name.json"
#chown $app:$app "$data_dir/groups/$group_name.json"
# ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json"
# chmod 400 "$data_dir/groups/$group_name.json"
# chown $app:$app "$data_dir/groups/$group_name.json"
# Create a group name authenticated on LDAP
ynh_add_config --template="groupname-ldap.json" --destination="$data_dir/groups/YunoHost_Users.json"