mysql service: order after network.target
This commit is contained in:
@@ -167,6 +167,7 @@ in
|
|||||||
systemd.services.mysql =
|
systemd.services.mysql =
|
||||||
{ description = "MySQL Server";
|
{ description = "MySQL Server";
|
||||||
|
|
||||||
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
unitConfig.RequiresMountsFor = "${cfg.dataDir}";
|
unitConfig.RequiresMountsFor = "${cfg.dataDir}";
|
||||||
|
|||||||
Reference in New Issue
Block a user