mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
nixos/mysql: update tmpfiles rules
This commit is contained in:
parent
df7e52814d
commit
a9d5f088b5
1 changed files with 2 additions and 1 deletions
|
@ -334,7 +334,8 @@ in
|
||||||
environment.etc."my.cnf".source = cfg.configFile;
|
environment.etc."my.cnf".source = cfg.configFile;
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
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
|
systemd.services.mysql = let
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue