<commit_before>#!/bin/bash

source '/lib/start/functions.sh'

# Load default environment variables
source image_env

# Install updates if neded
if [ -f '/etc/image/version.conf' ]; then
    image_update || exit 1
fi

# Load directories
image_stor || exit 1

# First run
[ ! -d /etc/dirsrv/slapd-* ] && setup_kolab

configure WEBSERVER nginx apache
configure FORCE_HTTPS true false
configure NGINX_CACHE true false
configure SPAM_SIEVE true false
configure SYSLOG true false
configure FAIL2BAN true false
configure DKIM true false
configure CERT_PATH
configure KOLAB_DEFAULT_LOCALE
configure KOLAB_DEFAULT_QUOTA
configure MAX_MEMORY_SIZE<commit_msg>upd: start.sh<commit_after>#!/bin/bash

source '/lib/start/functions.sh'

# Load default environment variables
source image_env

# Install updates if neded
if [ -f '/etc/image/version.conf' ]; then
    image_update || exit 1
fi

# Load directories
image_stor || exit 1

# First run
if [ ! -d /etc/dirsrv/slapd-* ]; then
    setup_kolab || exit 1
fi

configure WEBSERVER nginx apache
configure FORCE_HTTPS true false
configure NGINX_CACHE true false
configure SPAM_SIEVE true false
configure SYSLOG true false
configure FAIL2BAN true false
configure DKIM true false
configure CERT_PATH
configure KOLAB_DEFAULT_LOCALE
configure KOLAB_DEFAULT_QUOTA
configure MAX_MEMORY_SIZE
{'fraction_non_alphanumeric': 0.06595905989385899, 'fraction_numerical': 0.00530705079605762, 'mean_word_length': 5.0, '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': '2518778', 'n_tokens_mistral': 447, 'n_tokens_neox': 425, 'n_words': 139}