mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Add createdb right to mastodon postgre role
This commit is contained in:
parent
8e1d57d0dd
commit
a961856c7e
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ ynh_psql_dump_db() {
|
|||
ynh_psql_create_user() {
|
||||
user="$1"
|
||||
pwd="$2"
|
||||
sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd';" postgres
|
||||
sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd' CREATEDB;" postgres
|
||||
}
|
||||
|
||||
# Drop a user
|
||||
|
|
Loading…
Reference in a new issue