tasty revision to load feisty for full use
[feisty_meow.git] / infobase / configuration / trac / trac_startup.sh
1 #!/bin/bash
2 #
3 # Runs the trac server startup if it's not already going.
4 # This is a lighter-weight solution than adding trac to init scripts,
5 # and it can be run as a normal user with the trac repository in their
6 # home directory.
7 #
8 # Author: Chris Koeritz
9
10 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
11
12 # we only try to do something if trac is missing.
13 if [ "$(psfind tracd)" ]; then
14   exit 0
15 fi
16
17 #...adjust this for where you have your repository.
18 # this configuration also assumes that stunnel is routing the non-ssl trac
19 # service to the web; the below does not make trac visible off-machine.
20 tracd -s --hostname=localhost -p 7000 --basic-auth="MyTracSite,/home/trac/trac_sites/authFile," /home/trac/trac_sites/MyTracSite &
21