nixpkgs-suyu/nixos
Bjørn Forsman ffb593f880 nixos/graphite-service: fix startup issue
The preStart snippets (graphite, carbon) try to create directories under
/var/db/. That currently fails because the code is run as user
"graphite". Fix by setting "PermissionsStartOnly = true" so that the
preStart stuff is run as 'root'.

Further:
 * graphite-web-0.9.12/bin/build-index.sh needs perl, so add it to PATH.
 * Now that preStart runs as root, we must wait with "chown graphite"
   until we're done creating files/directories.
 * Drop needless check for root (uid 0) before running chown.
2014-04-17 15:48:39 +02:00
..
doc Manual: Add some IDs 2014-04-14 19:27:26 +02:00
gui Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
lib Simplify running tests even further 2014-04-14 14:23:38 +02:00
maintainers Add script to create and upload GCE image. 2014-04-14 14:38:52 +02:00
modules nixos/graphite-service: fix startup issue 2014-04-17 15:48:39 +02:00
tests Fix the bittorrent test 2014-04-15 14:37:20 +02:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix Add a regression test for udisks 2014-04-07 13:22:12 +02:00
release.nix Simplify running tests even further 2014-04-14 14:23:38 +02: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.