<commit_before>#!/bin/sh
# Startup script for running all processes of Freeciv-web

SCRIPT_DIR="$(dirname "$0")"
export FREECIV_WEB_DIR="${SCRIPT_DIR}/.."
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8

echo "Starting up Freeciv-web: nginx, resin, publite2, freeciv-proxy."

# 1. nginx
echo "Starting nginx first. Please enter root password:"

if [ "$(pidof nginx)" ] 
then
  echo "nginx running!"
else
  sudo service nginx start && \
  echo "nginx started!" && \
  sleep 1 <commit_msg>Only mention that password will be asked for when it will be asked for.<commit_after>#!/bin/sh
# Startup script for running all processes of Freeciv-web

SCRIPT_DIR="$(dirname "$0")"
export FREECIV_WEB_DIR="${SCRIPT_DIR}/.."
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8

echo "Starting up Freeciv-web: nginx, resin, publite2, freeciv-proxy."

# 1. nginx
echo "Starting nginx first."

if [ "$(pidof nginx)" ] 
then
  echo "nginx already running!"
else
  echo "Please enter root password:"
  sudo service nginx start && \
  echo "nginx started!" && \
  sleep 1 
{'fraction_non_alphanumeric': 0.12894499549143373, 'fraction_numerical': 0.012623985572587917, 'mean_word_length': 4.36231884057971, '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': '2201925', 'n_tokens_mistral': 438, 'n_tokens_neox': 401, 'n_words': 123}