diff --git a/package.sh b/package.sh index ac6f481ed3..3a6f0d282a 100755 --- a/package.sh +++ b/package.sh @@ -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 diff --git a/scripts/init.sh b/scripts/init.sh index e632fbd9f1..57605cae03 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -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