manual create postgres user for mediawiki
This commit is contained in:
parent
7114dda9f4
commit
285f92d2a2
|
@ -26,6 +26,17 @@
|
|||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "mediawiki";
|
||||
ensurePermissions = {
|
||||
"DATABASE \"mediawiki\"" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
];
|
||||
ensureDatabases = [
|
||||
"mediawiki"
|
||||
];
|
||||
};
|
||||
};
|
||||
systemd.services.mediawiki-pgsetup = {
|
||||
|
|
Loading…
Reference in a new issue