<commit_before>#!/bin/bash

/opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null

AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id`
AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret`
AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region`
PREFIX=`/usr/bin/etcdctl get /_arken.io/key`

exec docker run --name journald-wrapper -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_ID -e AWS_SECRET_ACCESS_KEY=$AWS_ACCESS_SECRET -e AWS_REGION=$AWS_REGION -e PREFIX=$PREFIX --rm quay.io/nuxeoio/journald-wrapper<commit_msg>NXIO-358: Fix wrong docker run cmd<commit_after>#!/bin/bash

/opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null

AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id`
AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret`
AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region`
PREFIX=`/usr/bin/etcdctl get /_arken.io/key`
CURSOR_PATH=/data/journald

mkdir -p /data/journald

exec docker run --name journald-wrapper -v /data/journald:/data/journald -e CURSOR_PATH=$CURSOR_PATH -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_ID -e AWS_SECRET_ACCESS_KEY=$AWS_ACCESS_SECRET -e AWS_REGION=$AWS_REGION -e PREFIX=$PREFIX --rm quay.io/nuxeoio/journald-wrapper
{'fraction_non_alphanumeric': 0.14648117839607203, 'fraction_numerical': 0.004091653027823241, 'mean_word_length': 5.024630541871921, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4020532', 'n_tokens_mistral': 542, 'n_tokens_neox': 520, 'n_words': 74}