1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
This commit is contained in:
Éric Gaspar 2024-06-19 22:11:57 +02:00
parent 6777bf4ed8
commit af351988a7
2 changed files with 2 additions and 4 deletions

View file

@ -84,6 +84,7 @@ ram.runtime = "50M"
[resources.install_dir]
[resources.data_dir]
subdirs =["_data", "galleries", "upload"]
[resources.permissions]
main.url = "/"

View file

@ -21,14 +21,11 @@ ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin
ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin
_create_data_dirs_if_required
#_create_data_dirs_if_required
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
chmod -R o-rwx "$data_dir"
chown -R "$app:www-data" "$data_dir"
#=================================================
# SYSTEM CONFIGURATIONS
#=================================================