From cb85b9db253453be296d5a169b5e537e4f7f3dfb Mon Sep 17 00:00:00 2001 From: Sean Reifschneider Date: Wed, 14 Oct 2015 11:15:48 -0600 Subject: [PATCH] Issue #4446: Fixing logrotate config file. This issue switches from "cp" to "install" for the logrotate file, with the option to specify the mode. Also uses the name "influxdb" instead of "influxd". --- package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.sh b/package.sh index 78fe6d48f7b..ddd4b56b23f 100755 --- a/package.sh +++ b/package.sh @@ -471,7 +471,7 @@ if [ $? -ne 0 ]; then cleanup_exit 1 fi -cp $LOGROTATE $TMP_WORK_DIR/$LOGROTATE_DIR/influxd +install -m 644 $LOGROTATE $TMP_WORK_DIR/$LOGROTATE_DIR/influxdb if [ $? -ne 0 ]; then echo "Failed to copy logrotate configuration to packaging directory -- aborting." cleanup_exit 1