* Allow Upstart jobs to declare that they shouldn't be restarted by

switch-to-configuration.  E.g. the X server shouldn't be restarted
  because that kills all the X clients.

svn path=/nixos/trunk/; revision=33223
This commit is contained in:
Eelco Dolstra
2012-03-18 02:10:39 +00:00
parent 3495a773f9
commit 86d8d62d16
6 changed files with 22 additions and 10 deletions

View File

@@ -140,6 +140,8 @@ in
stopOn = "starting shutdown and stopping xend";
restartIfChanged = false;
path = [ pkgs.xen ];
environment.XENDOM_CONFIG = "${xen}/etc/sysconfig/xendomains";