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

svn path=/nixos/trunk/; revision=25626
wip/yesman
Sander van der Burg 14 years ago
parent 96b769c979
commit 66ead80026
  1. 6
      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 =
''

Loading…
Cancel
Save