Merge pull request #1063 from offlinehacker/nixos/graphite/listen_defaults_fix

nixos: graphite, listen on localhost by default
This commit is contained in:
Domen Kožar 2013-10-12 12:23:34 -07:00
commit e28ddcfbec

View File

@ -34,7 +34,14 @@ in {
carbon = {
config = mkOption {
description = "Content of carbon configuration file";
default = "";
default = ''
[cache]
# Listen on localhost by default for security reasons
UDP_RECEIVER_INTERFACE = 127.0.0.1
PICKLE_RECEIVER_INTERFACE = 127.0.0.1
LINE_RECEIVER_INTERFACE = 127.0.0.1
CACHE_QUERY_INTERFACE = 127.0.0.1
'';
type = types.uniq types.string;
};