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…
Reference in a new issue