current user for pgbouncer

This commit is contained in:
rjawor 2015-12-16 09:58:42 +01:00
parent c7459af387
commit 73b84237e1
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ set(BASE_TARGETS concordia-server)
set (STOP_WORDS_ENABLED "false") set (STOP_WORDS_ENABLED "false")
set (UNIX_USER $ENV{USER})
# ================================================ # ================================================
# Config # Config

View File

@ -15,6 +15,6 @@ respawn limit 10 30
expect fork expect fork
script script
exec pgbouncer -u rafalj @concordia-server_SOURCE_DIR@/db/pgbouncer.ini & exec pgbouncer -u @UNIX_USER@ @concordia-server_SOURCE_DIR@/db/pgbouncer.ini &
sleep 4 sleep 4
end script end script