current user for pgbouncer
This commit is contained in:
parent
c7459af387
commit
73b84237e1
@ -12,6 +12,7 @@ set(BASE_TARGETS concordia-server)
|
||||
|
||||
set (STOP_WORDS_ENABLED "false")
|
||||
|
||||
set (UNIX_USER $ENV{USER})
|
||||
|
||||
# ================================================
|
||||
# Config
|
||||
|
@ -15,6 +15,6 @@ respawn limit 10 30
|
||||
expect fork
|
||||
|
||||
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
|
||||
end script
|
||||
|
Loading…
Reference in New Issue
Block a user