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

add sudirs

This commit is contained in:
Éric Gaspar 2023-04-20 19:15:16 +02:00
parent 1dbd96de4e
commit c779405842
2 changed files with 1 additions and 11 deletions

View file

@ -80,6 +80,7 @@ ram.runtime = "50M"
[resources.install_dir]
[resources.data_dir]
subdirs = ["groups","recordings"]
[resources.permissions]
main.url = "/"

View file

@ -84,17 +84,6 @@ ynh_secure_remove --file="$install_dir/.go-version"
chmod +x "$install_dir/galene-password-generator"
#=================================================
# CREATE DATA DIRECTORY
#=================================================
ynh_script_progression --message="Creating a data directory..." --weight=1
mkdir -p $data_dir/{groups,recordings}
chmod 750 "$data_dir"
chmod -R o-rwx "$data_dir"
chown -R $app:www-data "$data_dir"
#=================================================
# ADD A CONFIGURATION
#=================================================