<commit_before>#!/usr/bin/env bash
set -eu

ROOT="`dirname $0`/.."
ROOT=`readlink -m $ROOT`

sudo apt-get install activemq -y

sudo cp ${ROOT}/extra_cookbooks/activemq_mco/templates/default/activemq.xml.erb \
    /etc/activemq/instances-available/main/activemq.xml
sudo ln -s /etc/activemq/instances-available/main/ /etc/activemq/instances-enabled/main
sudo service activemq restart<commit_msg>Start/stop ACtiveMQ instead of restart it<commit_after>#!/usr/bin/env bash
set -eu

ROOT="`dirname $0`/.."
ROOT=`readlink -m $ROOT`

sudo apt-get install activemq -y

sudo cp ${ROOT}/extra_cookbooks/activemq_mco/templates/default/activemq.xml.erb \
    /etc/activemq/instances-available/main/activemq.xml
sudo ln -s /etc/activemq/instances-available/main/ /etc/activemq/instances-enabled/main
sudo /etc/init.d/activemq stop
sudo /etc/init.d/activemq start
{'fraction_non_alphanumeric': 0.14016489988221437, 'fraction_numerical': 0.002355712603062426, 'mean_word_length': 4.345911949685535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4696975', 'n_tokens_mistral': 323, 'n_tokens_neox': 302, 'n_words': 60}