File: CMD_LINE

package info (click to toggle)
prayer 1.3.5-dfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,596 kB
  • sloc: ansic: 43,163; makefile: 817; sh: 445; perl: 166
file content (39 lines) | stat: -rw-r--r-- 1,612 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$Cambridge: hermes/src/prayer/docs/CMD_LINE,v 1.2 2008/09/16 09:59:56 dpc22 Exp $

Command line options for the various servers
============================================

prayer:
  --config-file:     Define prayer config file
                     (Overrides compilation default and PRAYER_CONFIG_FILE)
  --config-option:   Override single configuration option

  --foreground:      Run single threaded server in  foreground
  --disable-prefork: Run as simple fork()/exec() daemon
  --disable-session: Don't start up prayer-session server
  --help:            Lists command line options
  --:                End of prayer options: remaining options will be passed
                     to prayer-session server process only.


prayer-session:
  --config-file:     Define prayer config file
                    (Overrides compilation default and PRAYER_CONFIG_FILE)
  --config-option:   Override single configuration option

  --foreground:      Run single threaded session server in foreground
  --help:            Lists command line options

Example:

   prayer --config-file=./prayer-debug.cf               \
          --config-option service_name="Webmail"        \
          --                                            \
          --config-option imapd_server=localhost:8143   \
          --foreground

Starts up prayer and prayer-session master servers, defining configuration
file and "service_name" variable in both processes. In addition the
imapd_server variable is defined in the prayer-session server and this
server is run in "foreground" mode which is useful for debugging single
login sessions.