mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
error on ynh_secure_remove
This commit is contained in:
parent
ce09f3e949
commit
ad476aad67
1 changed files with 1 additions and 1 deletions
|
@ -37,4 +37,4 @@ sudo su - postgres <<COMMANDS
|
||||||
pg_dump --role=mastodon -U postgres --no-password mastodon_production > mastodon_db.sql
|
pg_dump --role=mastodon -U postgres --no-password mastodon_production > mastodon_db.sql
|
||||||
COMMANDS
|
COMMANDS
|
||||||
ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql"
|
ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql"
|
||||||
ynh_secure_remove /var/lib/postgresql/mastodon_db.sql
|
rm /var/lib/postgresql/mastodon_db.sql
|
||||||
|
|
Loading…
Reference in a new issue