mysql: add restartTrigger for my.cnf
This commit is contained in:
parent
c64951515b
commit
ea02ddc0be
|
@ -249,6 +249,7 @@ in
|
|||
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
restartTriggers = [ config.environment.etc."my.cnf".source ];
|
||||
|
||||
unitConfig.RequiresMountsFor = "${cfg.dataDir}";
|
||||
|
||||
|
|
Loading…
Reference in New Issue