<commit_before>#!/bin/bash

GHOST="/ghost"

sed -i -e "s|http://my-ghost-blog.com|${BLOG_DOMAIN}|g" /ghost/config.js

#start background watcher for buster
while inotifywait -e modify /ghost/content/data/ghost.db; do sleep 10 && /ghost/publish.sh; done &

# Start Ghost
chown -R ghost:ghost /data /ghost
su ghost << EOF
cd "$GHOST"
NODE_ENV=${NODE_ENV:-production} npm start
EOF
<commit_msg>Update start.bash<commit_after>#!/bin/bash

GHOST="/ghost"

sed -i -e "s|http://my-ghost-blog.com|${BLOG_DOMAIN}|g" /ghost/config.js

#start background watcher for buster
while inotifywait -e modify /ghost/content/data/; do sleep 10 && /ghost/publish.sh; done &

# Start Ghost
chown -R ghost:ghost /data /ghost
su ghost << EOF
cd "$GHOST"
NODE_ENV=${NODE_ENV:-production} npm start
EOF

{'fraction_non_alphanumeric': 0.15721649484536082, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 4.321917808219178, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2335762', 'n_tokens_mistral': 313, 'n_tokens_neox': 301, 'n_words': 77}