mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Webdav (#70)
* Update manifest.toml try add webdav permissions * Update restore not sure to put these chmod permissions on all files there * Update manifest.toml try debug sync webdav
This commit is contained in:
parent
f5c64900d9
commit
e0b53b2472
2 changed files with 6 additions and 1 deletions
|
@ -53,6 +53,11 @@ ram.runtime = "50M"
|
||||||
api.show_tile = false
|
api.show_tile = false
|
||||||
api.protected = true
|
api.protected = true
|
||||||
api.auth_header = true
|
api.auth_header = true
|
||||||
|
webdav.url = "/dav/documents/*"
|
||||||
|
webdav.allowed = ["visitors", "all_users"]
|
||||||
|
webdav.show_tile = false
|
||||||
|
webdav.protected = true
|
||||||
|
webdav.auth_header = false
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "sqlite3, php8.2-sqlite3, php8.2-gd, php8.2-intl, php8.2-cli, php8.2-gnupg, php8.2-mbstring, php8.2-zip"
|
packages = "sqlite3, php8.2-sqlite3, php8.2-gd, php8.2-intl, php8.2-cli, php8.2-gnupg, php8.2-mbstring, php8.2-zip"
|
||||||
|
|
|
@ -27,7 +27,7 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||||
|
|
||||||
chmod -R o-rwx "$data_dir"
|
#chmod -R o-rwx "$data_dir"
|
||||||
chown -R $app:www-data "$data_dir"
|
chown -R $app:www-data "$data_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue