Merge pull request #187299 from superherointj/nixos-modules-minio-fix-network-issue

nixos/minio: fix startup issue
This commit is contained in:
Pascal Bach 2022-08-18 21:46:43 +02:00 committed by GitHub
commit b6ab2508f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ in
systemd.services.minio = {
description = "Minio Object Storage";
after = [ "network.target" ];
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --console-address ${cfg.consoleAddress} --config-dir=${cfg.configDir} ${toString cfg.dataDir}";