docs/example-defaults-script
author Tero Marttila <terom@fixme.fi>
Wed, 17 Sep 2008 20:30:54 +0300
changeset 26 a7f74dd6d4e5
permissions -rw-r--r--
working init.d/defaults scripts


# what the CWD should be
RUN_DIR=/home/terom/projects/FixBot

# what user to run as
RUN_UID=fixbot-dev

# common options
OPTIONS="--api-port=34889"

# nexus's options
NEXUS_OPTIONS="$OPTIONS --irc-nickname=FixBotDev --irc-channel=#fixme-test"

# logwatch's options
LOGWATCH_OPTIONS="$OPTIONS"

# plugins/moduels are loaded from RUN_DIR
export "PYTHONPATH=$RUN_DIR"