diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-13 15:49:18 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-06-13 15:49:18 +0200 |
| commit | 816d7d6e3566c30acd2ebe7ad5f5853590d298c2 (patch) | |
| tree | 9269988d2ef0a4de8488fc530f9cb098f70d6f08 /scripts/restore | |
| parent | 4e3f28968c4d746a9ffbce43f98cc9c5783f204f (diff) | |
| download | mastodon_ynh-816d7d6e3566c30acd2ebe7ad5f5853590d298c2.tar.gz mastodon_ynh-816d7d6e3566c30acd2ebe7ad5f5853590d298c2.tar.bz2 mastodon_ynh-816d7d6e3566c30acd2ebe7ad5f5853590d298c2.zip | |
Fix postgresql restore script
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore index f8c6e66..feded36 100644 --- a/scripts/restore +++ b/scripts/restore @@ -132,7 +132,7 @@ fi db_pwd=$(ynh_app_setting_get "$app" db_pwd) ynh_psql_test_if_first_run -ynh_psql_setup_db "$db_name" "$db_name" "$db_pwd" +ynh_psql_setup_db "$db_user" "$db_name" "$db_pwd" ynh_psql_execute_file_as_root ./db.sql "$db_name" #================================================= |
