services.graphite: chmod -R entire dataDir

This commit is contained in:
Albert Peschar 2017-05-30 18:45:54 +02:00 committed by Franz Pletz
parent 45bb3fcbbe
commit 39a121303f

View File

@ -488,9 +488,7 @@ in {
# create index
${pkgs.python27Packages.graphite_web}/bin/build-index.sh
chown graphite:graphite ${cfg.dataDir}
chown graphite:graphite ${cfg.dataDir}/whisper
chown -R graphite:graphite ${cfg.dataDir}/log
chown -R graphite:graphite ${cfg.dataDir}
touch ${dataDir}/db-created
fi