3
0
Fork 0
forked from mirrors/nixpkgs

nixos/mysql: update tmpfiles rules

This commit is contained in:
Izorkin 2020-05-14 20:32:19 +03:00
parent df7e52814d
commit a9d5f088b5

View file

@ -334,7 +334,8 @@ in
environment.etc."my.cnf".source = cfg.configFile;
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0700 ${cfg.user} mysql -"
"d '${cfg.dataDir}' 0700 ${cfg.user} mysql - -"
"z '${cfg.dataDir}' 0700 ${cfg.user} mysql - -"
];
systemd.services.mysql = let