From 66ead8002676dda48e0b97aaefa128bad9536ae4 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 19 Jan 2011 12:59:32 +0000 Subject: [PATCH] Disnix now also waits for the services it supports before it starts the Disnix daemon itself svn path=/nixos/trunk/; revision=25626 --- modules/services/misc/disnix.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/services/misc/disnix.nix b/modules/services/misc/disnix.nix index f3dd55b64d9..d0ef5d34a64 100644 --- a/modules/services/misc/disnix.nix +++ b/modules/services/misc/disnix.nix @@ -107,7 +107,11 @@ in disnix = { description = "Disnix server"; - startOn = "started dbus"; + startOn = "started dbus" + + optionalString config.services.httpd.enable " and started httpd" + + optionalString config.services.mysql.enable " and started mysql" + + optionalString config.services.tomcat.enable " and started tomcat" + + optionalString config.services.svnserve.enable " and started svnserve"; script = ''