pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Make the overall log dir owned by graphite, but the webapp log dir owned by www.



Module Name:	pkgsrc-wip
Committed By:	Jeff Rizzo <riz%tastylime.net@localhost>
Pushed By:	riz
Date:		Mon Dec 7 15:30:32 2015 -0800
Changeset:	6b5b5e39ead1d174e37d206bdd81f725014ca238

Modified Files:
	py-graphite-web/Makefile

Log Message:
Make the overall log dir owned by graphite, but the webapp
log dir owned by www.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b5b5e39ead1d174e37d206bdd81f725014ca238

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-graphite-web/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/py-graphite-web/Makefile b/py-graphite-web/Makefile
index c9937f5..2f41ad5 100644
--- a/py-graphite-web/Makefile
+++ b/py-graphite-web/Makefile
@@ -26,6 +26,9 @@ BUILD_DEFS+=		VARBASE GRAPHITE_DIR
 
 REPLACE_SH+=		bin/build-index.sh
 
+OWN_DIRS_PERMS+= ${GRAPHITE_LOG_DIR} ${GRAPHITE_USER} ${GRAPHITE_GROUP} 0755
+OWN_DIRS_PERMS+= ${GRAPHITE_LOG_DIR}/webapp ${WWW_USER} ${GRAPHITE_GROUP} 0775
+
 SUBST_CLASSES+=		dirs
 SUBST_STAGE.dirs=	pre-configure
 SUBST_MESSAGE.dirs=	Patching default dirs


Home | Main Index | Thread Index | Old Index