docs/etc_defaults_fixbot-logwatch
author Tero Marttila <terom@fixme.fi>
Thu, 04 Feb 2010 19:39:37 +0200
changeset 39 e82b6df5baa3
parent 28 91800c6af63b
permissions -rw-r--r--
use config for api.Module
28
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
# what the CWD should be
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
RUN_DIR=/home/terom/projects/FixBot
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
# what user to run as
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     6
RUN_UID=fixbot-dev
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     8
# logfile to use
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     9
LOG_FILE=$RUN_DIR/logs/logwatch.log
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    10
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    11
# twistd options
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    12
TWISTD_ARGS=" \
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    13
    --uid=$RUN_UID  \
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    14
    --gid=nogroup   \
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    15
    --rundir=$RUN_DIR   \
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    16
    --logfile=$LOG_FILE "
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    17
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    18
# fixbot options
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    19
FIXBOT_ARGS=" \
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    20
    --api-port=34889    "
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    21
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    22
# plugins/modules are loaded from RUN_DIR
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    23
export "PYTHONPATH=$RUN_DIR"
91800c6af63b typos, and same stuff for fixbot-logwatch
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    24