services.graphite: chmod -R entire dataDir
This commit is contained in:
parent
45bb3fcbbe
commit
39a121303f
@ -488,9 +488,7 @@ in {
|
|||||||
# create index
|
# create index
|
||||||
${pkgs.python27Packages.graphite_web}/bin/build-index.sh
|
${pkgs.python27Packages.graphite_web}/bin/build-index.sh
|
||||||
|
|
||||||
chown graphite:graphite ${cfg.dataDir}
|
chown -R graphite:graphite ${cfg.dataDir}
|
||||||
chown graphite:graphite ${cfg.dataDir}/whisper
|
|
||||||
chown -R graphite:graphite ${cfg.dataDir}/log
|
|
||||||
|
|
||||||
touch ${dataDir}/db-created
|
touch ${dataDir}/db-created
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user