1
0
Fork 0
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:
nemsia 2017-07-01 17:39:58 +02:00
parent ce09f3e949
commit ad476aad67

View file

@ -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