nixos/graphite: graphite requires pidfile set for startup

This commit is contained in:
Jaka Hudoklin 2013-10-28 17:08:33 +01:00
parent f4aaced654
commit 0229f45cf3

View File

@ -8,7 +8,7 @@ let
dataDir = "/var/db/graphite";
carbonOpts = name: with config.ids; ''
--nodaemon --syslog --prefix=${name} \
--nodaemon --syslog --prefix=${name} --pidfile /var/run/${name}.pid \
--uid ${toString uids.graphite} --gid ${toString uids.graphite} ${name}
'';
carbonEnv = {