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:
parent
96b769c979
commit
66ead80026
@ -107,7 +107,11 @@ in
|
|||||||
disnix =
|
disnix =
|
||||||
{ description = "Disnix server";
|
{ 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 =
|
script =
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user