mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 14:09:17 +03:00
nixos/mysql: run ExecStartPost as root (again) to preserve compatibility with installs that have been secured
This commit is contained in:
parent
e0590da813
commit
d0a147e841
1 changed files with 3 additions and 1 deletions
|
@ -412,7 +412,9 @@ in
|
|||
'') cfg.ensureUsers}
|
||||
'';
|
||||
in
|
||||
setupScript;
|
||||
# ensureDatbases & ensureUsers depends on this script being run as root
|
||||
# when the user has secured their mysql install
|
||||
"+${setupScript}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue