mysql service: order after network.target

This commit is contained in:
Joachim Fasting
2016-10-03 23:08:26 +02:00
parent f12fcfebe2
commit 88265c8238
@@ -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}";