Disnix now also waits for the services it supports before it starts the Disnix daemon itself

svn path=/nixos/trunk/; revision=25626
This commit is contained in:
Sander van der Burg 2011-01-19 12:59:32 +00:00
parent 96b769c979
commit 66ead80026

View file

@ -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 =
''