diff --git a/nixos/modules/services/databases/4store-endpoint.nix b/nixos/modules/services/databases/4store-endpoint.nix index f2d64b6891db..a03790433718 100644 --- a/nixos/modules/services/databases/4store-endpoint.nix +++ b/nixos/modules/services/databases/4store-endpoint.nix @@ -56,14 +56,13 @@ with lib; { name = endpointUser; uid = config.ids.uids.fourstorehttp; description = "4Store SPARQL endpoint user"; -# home = stateDir; }; services.avahi.enable = true; jobs.fourStoreEndpoint = { name = "4store-endpoint"; - startOn = "filesystem"; + startOn = "ip-up"; exec = '' ${run} '${pkgs.rdf4store}/bin/4s-httpd -D ${cfg.options} ${if cfg.listenAddress!=null then "-H ${cfg.listenAddress}" else "" } -p ${toString cfg.port} ${cfg.database}' diff --git a/nixos/modules/services/databases/4store.nix b/nixos/modules/services/databases/4store.nix index 469fef69c955..807317d27454 100644 --- a/nixos/modules/services/databases/4store.nix +++ b/nixos/modules/services/databases/4store.nix @@ -54,7 +54,7 @@ with lib; jobs.fourStore = { name = "4store"; - startOn = "filesystem"; + startOn = "ip-up"; preStart = '' mkdir -p ${stateDir}/ diff --git a/nixos/modules/services/databases/virtuoso.nix b/nixos/modules/services/databases/virtuoso.nix index f955cb74b6ba..8a49e13395c7 100644 --- a/nixos/modules/services/databases/virtuoso.nix +++ b/nixos/modules/services/databases/virtuoso.nix @@ -63,7 +63,7 @@ with lib; jobs.virtuoso = { name = "virtuoso"; - startOn = "filesystem"; + startOn = "ip-up"; preStart = '' mkdir -p ${stateDir}