mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00: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
@ -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…
Reference in New Issue
Block a user