docs/etc_defaults/fixbot-logwatch
author Tero Marttila <terom@fixme.fi>
Fri, 05 Feb 2010 21:48:14 +0200
changeset 58 31a17b0b5159
parent 43 78bc61c677d8
permissions -rw-r--r--
remove concept of event_types, the event.type is now just sent as a string
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
43
78bc61c677d8 fix fixbot_* -> fixbot-*, update defaults/init.d scripts
Tero Marttila <terom@fixme.fi>
parents: 42
diff changeset
    18
# twistd plugin options
78bc61c677d8 fix fixbot_* -> fixbot-*, update defaults/init.d scripts
Tero Marttila <terom@fixme.fi>
parents: 42
diff changeset
    19
PLUGIN_ARGS=" \
28
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