Skip to content

Commit

Permalink
Issue #4446: Fixing logrotate config file.
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
linsomniac committed Oct 14, 2015
1 parent 6ce003c commit cb85b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb85b9d

Please sign in to comment.