Rename config file during packaging

pull/1377/head
Philip O'Toole 2015-01-26 17:33:14 -08:00
parent d36f3a28aa
commit 48fdb239c8
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ if [ $? -ne 0 ]; then
fi
echo "$INITD_SCRIPT copied to $TMP_WORK_DIR/$INSTALL_ROOT_DIR/versions/$VERSION/scripts"
cp $SAMPLE_CONFIGURATION $TMP_WORK_DIR/$CONFIG_ROOT_DIR
cp $SAMPLE_CONFIGURATION $TMP_WORK_DIR/$CONFIG_ROOT_DIR/influxdb.conf
if [ $? -ne 0 ]; then
echo "Failed to copy $SAMPLE_CONFIGURATION to packaging directory -- aborting."
cleanup_exit 1

View File

@ -91,7 +91,7 @@ daemon=/opt/influxdb/influxd
pidfile=/var/opt/influxdb/run/influxd.pid
# Configuration file
config=/etc/opt/influxdb/config.sample.toml
config=/etc/opt/influxdb/influxdb.conf
# If the daemon is not there, then exit.
[ -x $daemon ] || exit 5