From 0037ea80c895b72fffeb146c8a4eeb458001e2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Fri, 12 Dec 2014 15:46:47 +0100 Subject: [PATCH 6/6] create pmlogger and pmie logdirs during install --- src/pmie/GNUmakefile | 2 ++ src/pmlogger/GNUmakefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/pmie/GNUmakefile b/src/pmie/GNUmakefile index 4c8e971d519b..9c6d09445dbd 100644 --- a/src/pmie/GNUmakefile +++ b/src/pmie/GNUmakefile @@ -55,6 +55,8 @@ endif $(INSTALL) -m 775 -o $(PCP_USER) -g $(PCP_GROUP) -d $(PCP_TMP_DIR)/pmie ifeq ($(TARGET_OS),linux) $(INSTALL) -m 755 -d `dirname $(CRONTAB_PATH)` + $(INSTALL) -m 755 -d $(PCP_LOG_DIR)/pmie + $(INSTALL) -m 1777 -d $(PCP_TMP_DIR)/pmie endif $(INSTALL) -m 644 crontab $(CRONTAB_PATH) diff --git a/src/pmlogger/GNUmakefile b/src/pmlogger/GNUmakefile index ae728faff2af..483087dbd39f 100644 --- a/src/pmlogger/GNUmakefile +++ b/src/pmlogger/GNUmakefile @@ -56,6 +56,8 @@ endif $(INSTALL) -m 775 -o $(PCP_USER) -g $(PCP_GROUP) -d $(PCP_TMP_DIR)/pmlogger ifeq ($(TARGET_OS),linux) $(INSTALL) -m 755 -d `dirname $(CRONTAB_PATH)` + $(INSTALL) -m 755 -d $(PCP_LOG_DIR)/pmlogger + $(INSTALL) -m 1777 -d $(PCP_TMP_DIR)/pmlogger endif $(INSTALL) -m 644 crontab $(CRONTAB_PATH) -- 2.1.2