3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Eelco Dolstra c45cf3a28e * In the jobs attribute, support a more high-level way of specifying
jobs, e.g. (from the nscd job)

    { name = "nscd";

      description = "Name Service Cache Daemon";

      startOn = "startup";
      stopOn = "shutdown";

      environment = { LD_LIBRARY_PATH = nssModulesPath; };
        
      preStart =
        ''
          mkdir -m 0755 -p /var/run/nscd
          mkdir -m 0755 -p /var/db/nscd
        '';

      exec = "${pkgs.glibc}/sbin/nscd -f ${./nscd.conf} -d 2> /dev/null";
    };

  The Upstart job is generated from this.  The main goal is to provide
  some abstraction from the Upstart syntax.  For instance, this should
  make it easier to upgrade to newer versions of Upstart, to switch to
  an entirely different process management system (e.g. initng or
  launchd), or to test a job independantly from Upstart.  (However the
  startOn and stopOn attributes are tied to Upstart's event model.)

svn path=/nixos/branches/modular-nixos/; revision=16376
2009-07-15 15:24:11 +00:00
doc * Escape strings. 2009-07-15 13:40:30 +00:00
lib * Move the hardware modules back to the main modules tree. No need 2009-07-14 12:36:02 +00:00
maintainers/scripts Replace special rule by a module-list.mask file which enumerates all 2009-06-11 17:59:47 +00:00
modules * In the jobs attribute, support a more high-level way of specifying 2009-07-15 15:24:11 +00:00
test * Removed the installer directory. 2009-06-10 11:02:17 +00:00
default.nix * Don't try to run fsck on ISO-9660/UDF filesystems. 2009-06-15 15:50:36 +00:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release.nix svn path=/nixos/branches/modular-nixos/; revision=16271 2009-07-09 11:57:20 +00:00
STABLE * Version number, stable marker. 2006-11-04 11:27:08 +00:00
VERSION * Version number, stable marker. 2006-11-04 11:27:08 +00:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.