From d33c8977ff3c32f123751a8fc14514927ed7a673 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 4 Mar 2008 13:38:05 +0000 Subject: [PATCH] document new -u/user= option --- doc/config.txt | 7 +++++++ doc/usage.txt | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/config.txt b/doc/config.txt index c2069d0..33a3d0f 100644 --- a/doc/config.txt +++ b/doc/config.txt @@ -57,6 +57,13 @@ server connections. If set to empty string, Unix sockets are disabled. Default: +/tmp+ +==== user ==== + +If set, specifies UNIX user to change to. Work only if started as root +or `user` is same as current user. + +Default: not set + ==== auth_file ==== Load user names and passwords from this file. File format used is same as for diff --git a/doc/usage.txt b/doc/usage.txt index ea9597f..71ab541 100644 --- a/doc/usage.txt +++ b/doc/usage.txt @@ -6,7 +6,7 @@ pgbouncer - Lightweight connection pooler for PostgreSQL. == SYNOPSIS == - pgbouncer [-d][-R][-v] + pgbouncer [-d][-R][-v][-u user] pgbouncer -V|-h == DESCRIPTION == @@ -102,8 +102,14 @@ Basic setup and usage as following. Do a online restart. That means connecting to running process, loading open sockets from it and using them. +-u user:: + Switch to user on startup. + -v:: - Increase verbosity. + Increase verbosity. Can be used multiple times. + +-q:: + Be quiet - don't log to stdout. -V:: Show version. -- 2.40.0