~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead.conf.example

  • Committer: Robey Pointer
  • Date: 2007-01-14 05:40:40 UTC
  • Revision ID: robey@lag.net-20070114054040-7i9lbhq992e612rq
fix up dev.cfg so that nobody will ever have to edit it, by letting the
important params be overridable in loggerhead.conf.

make start-loggerhead actually daemonize, write a pid file, and write logs
to normal log files, instead of requiring 'nohup' stuff.  ie act like a real
server.  added stop-loggerhead to do a clean shutdown.  changed the README
to clarify how it should work now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# use this if you're mapping loggerhead within apache via proxy
6
6
#server.webpath = 'http://example.com/branches'
7
7
 
8
 
# use this if you want loggerhead to listen to another interface than 127.0.0.1
9
 
# server.socket_host = 'your_hostname_or_ip'
10
 
 
11
8
# where's bzrlib?
12
9
# (you only need this if you don't install bzr.)
13
10
#bzrpath = '/Users/robey/code/bzr/bzr'
15
12
# if you want a special title on the front page, set it here:
16
13
title = 'branches in loggerhead'
17
14
 
18
 
# the access and debug logs can be set up to roll 'daily', 'weekly', or 'never':
19
 
log.roll = 'weekly'
20
 
 
21
15
# group branches by project:
22
16
[bazaar]
23
17
 
24
18
    # name of this project
25
19
    name = 'bazaar'
26
 
 
 
20
    
27
21
    # for the top browsing page, you can include a description, in raw HTML.
28
22
    #description = 'Bazaar is a <i>revision control system</i>.'
29
23
 
30
 
    # should we cache files changed? (recommended for large trees)
31
 
    # this will be a folder containing one file.  if the folder doesn't
 
24
    # should we cache revisions and build a text index?  (HIGHLY recommended)
 
25
    # this will be a folder containing a few files.  if the folder doesn't
32
26
    # exist, it'll be created.
33
27
    #
34
28
    # all branches in this project will share the same cache, which is usually
63
57
[paramiko]
64
58
    name = 'paramiko'
65
59
    cachepath = '/Users/robey/code/paramiko/.bzr/loggerhead-files'
66
 
 
 
60
    
67
61
    # if an auto_publish_folder is given, any bazaar branches discovered in
68
62
    # that folder will be published.  using each branch's 'branch.conf' to
69
63
    # provide optional descriptions and public urls is a nice way to avoid
70
64
    # having to do much configuration here.
71
65
    auto_publish_folder = '/Users/robey/code/paramiko'
72
 
 
 
66
    
73
67
    # if all of the branches under an auto_publish_folder are exported to
74
68
    # the same (base) public url, you can specify that url prefix here, and
75
69
    # each discovered branch's public url will be generated.