summaryrefslogtreecommitdiff
path: root/doc/pgqd.txt
blob: d15fda6214d3b2f880f394598e21205ec1b37f95 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
= pgqq(1) =

== NAME ==

pgqd - PGQ ticker daemon

== SYNOPSIS ==

  pgqd [ options ... ] config.file

== DESCRIPTION ==

PgQ ticker and maintenance daemon.  Works with several databases in parallel.

== GENERAL OPTIONS ==

Switches:

  -v::        Increase verbosity

  -q::        No output to console

  -d::        Daemonize

  -h::        Show help

  -V::        Show version

 --ini::      Show sample config file

  -s::        Stop - send SIGINT to running process

  -k::        Kill - send SIGTERM to running process

  -r::        Reload - send SIGHUP to running process

== CONFIG FILE

=== Sample configuration file

  [pgqd]
  
  # where to log
  logfile = ~/log/pgqd.log
  
  # pidfile
  pidfile = ~/pid/pgqd.pid
  
  ## optional parameters ##
  
  # libpq connect string without dbname=
  #base_connstr =
  
  # startup db to query other databases
  #initial_database = template1
  
  # limit ticker to specific databases
  #database_list =
  
  # log into syslog
  #syslog = 1
  #syslog_ident = pgqd
  #syslog_facility = local0
  
  ## optional timeouts ##
  
  # how often to check for new databases
  #check_period = 60
  
  # how often to flush retry queue
  #retry_period = 30
  
  # how often to do maintentance
  #maint_period = 120
  
  # how often to run ticker
  #ticker_period = 1