.\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "pgqd" "1" "" "" .SH Name pgqd \- Maintenance daemon for PgQ .SH Synopsis .sp pgqd [\-qvd] config .sp pgqd [\-skr] config .sp pgqd \-\-ini|\-h|\-V .SH Description .sp Runs both ticker and periodic maintenence for all databases in one PostgreSQL cluster. .SH Options .INDENT 0.0 .TP .B \-q Do not log to stdout .TP .B \-v Verbose log .TP .B \-d Daemonize process .TP .B \-s Send SIGINT to running process to stop it .TP .B \-k Send SIGTERM to running process to stop it .TP .B \-r Send SIGHUP to running process to reload config .TP .B \-h Show help .TP .B \-V Show version .TP .B \-\-ini Show sample config .UNINDENT .SH Configuration .sp Config uses \fIini\fP file syntax: .INDENT 0.0 .INDENT 3.5 .sp .EX [pgqd] logfile = ~/log/pgqd.log pidfile = ~/pid/pgqd.pid .EE .UNINDENT .UNINDENT .sp Options: .INDENT 0.0 .TP .B logfile Filename to log to. Default: empty. .TP .B pidfile Filename to store pid, required when daemonizing. Default: empty. .TP .B base_connstr Connect string without dbname= Default: empty. .TP .B initial_database Startup db to query other databases. Default: template1 .TP .B database_list Limit ticker to specific databases. Default: empty, which means all database. .TP .B syslog Whether to log into syslog. Default: 1 .TP .B syslog_ident Name to use for syslog. Default: pgqd .TP .B check_period How often to check for new databases, in seconds. Default: 60. .TP .B retry_period How often to flush retry queue, in seconds. Default: 30 .TP .B maint_period How often to do maintentance, in seconds. Default: 120 .TP .B ticker_period How often to run ticker, in seconds. Default: 1 .UNINDENT .SH Install .sp pgqd uses autoconf based build system: .INDENT 0.0 .INDENT 3.5 .sp .EX \&./configure \-\-prefix=/opt make make install .EE .UNINDENT .UNINDENT .sp Dependencies: libevent, python3\-docutils .\" End of generated man page.