Author: sandervanderburg
Date: Wed Jan 19 12:59:32 2011
New Revision: 25626
URL: https://svn.nixos.org/websvn/nix/?rev=25626&sc=1
Log:
Disnix now also waits for the services it supports before it starts the Disnix
daemon itself
Modified:
nixos/trunk/modules/services/misc/disnix.nix
Modified: nixos/trunk/modules/services/misc/disnix.nix
==============================================================================
--- nixos/trunk/modules/services/misc/disnix.nix Wed Jan 19 12:33:21
2011 (r25625)
+++ nixos/trunk/modules/services/misc/disnix.nix Wed Jan 19 12:59:32
2011 (r25626)
@@ -107,7 +107,11 @@
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 =
''
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits