<commit_before>#!/bin/bash

# Create the user
/bin/bash /root/scripts/create-user.sh

USER=${USER:-xaamin}
SERVER_PATH="/home/$USER"

# Configure and run nginx
NGINX="/etc/nginx"
OVERRIDE="${SHARED_VOLUME}/server"

CONFIG="nginx.conf"

# Symlink sites directory
if [[ -d "$OVERRIDE/sites" ]]; then
    echo "Creating symlinks to available sites..."

    rm -fr "sites-available"
    ln -s "$OVERRIDE/sites" "sites-available"

    rm -fr "sites-enabled"<commit_msg>Fix server path<commit_after>#!/bin/bash

# Create the user
/bin/bash /root/scripts/create-user.sh

USER=${USER:-xaamin}
SERVER_PATH=${SHARED_VOLUME:-"/home/$USER"}

# Configure and run nginx
NGINX="/etc/nginx"
OVERRIDE="${SHARED_VOLUME}/server"

CONFIG="nginx.conf"

# Symlink sites directory
if [[ -d "$OVERRIDE/sites" ]]; then
    echo "Creating symlinks to available sites..."

    rm -fr "sites-available"
    ln -s "$OVERRIDE/sites" "sites-available"

    rm -fr "sites-enabled"
{'fraction_non_alphanumeric': 0.16561181434599156, 'fraction_numerical': 0.0, 'mean_word_length': 3.9947368421052634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6930959', 'n_tokens_mistral': 375, 'n_tokens_neox': 343, 'n_words': 77}