nixos/mysql: run ExecStartPost as root (again) to preserve compatibility with installs that have been secured

This commit is contained in:
Aaron Andersen 2019-06-30 21:59:47 -04:00
parent e0590da813
commit d0a147e841

View file

@ -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}";
};
};