mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[fix] replace setfact by chmod
This commit is contained in:
parent
838f971cf4
commit
3604622ae5
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ sudo su -c "psql" postgres <<< \
|
||||||
"update pg_database set datistemplate='true' where datname='template1';"
|
"update pg_database set datistemplate='true' where datname='template1';"
|
||||||
|
|
||||||
# Acl for Postgres user dump
|
# Acl for Postgres user dump
|
||||||
sudo setfacl -R -m u:postgres:r $YNH_APP_BACKUP_DIR || true
|
sudo chmod o+r $YNH_APP_BACKUP_DIR/mastodon_db.sql || true
|
||||||
|
|
||||||
# Restore db
|
# Restore db
|
||||||
ynh_psql_create_db_without_password "$app"
|
ynh_psql_create_db_without_password "$app"
|
||||||
|
|
Loading…
Reference in a new issue