From 91e6a8e5a26a1ea4aa1c122883be29b910eb3d19 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Mon, 17 Aug 2015 10:35:08 -0600 Subject: [PATCH] quassel: Start after its databases --- nixos/modules/services/networking/quassel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/quassel.nix b/nixos/modules/services/networking/quassel.nix index 005eb7bd7614..15db2d5346b8 100644 --- a/nixos/modules/services/networking/quassel.nix +++ b/nixos/modules/services/networking/quassel.nix @@ -78,7 +78,8 @@ in { description = "Quassel IRC client daemon"; wantedBy = [ "multi-user.target" ]; - after = [ "network.target" ]; + after = [ "network.target" ] ++ optional config.services.postgresql.enable "postgresql.service" + ++ optional config.services.mysql.enable "mysql.service"; preStart = '' mkdir -p ${cfg.dataDir}