X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=postgresql.sysconfig;h=f3f4735ab87c5c9bf3127ad8c1bdf74368d4282f;hb=adfd9c7ffbbb26a7219309c31b40913339fb5ca3;hp=de45ddc72a398c58aca1f2a0f02377fe72824d5b;hpb=78ad77930e44bd990f5ee9a352e1a253656cebe9;p=packages%2Fpostgresql.git diff --git a/postgresql.sysconfig b/postgresql.sysconfig index de45ddc..f3f4735 100644 --- a/postgresql.sysconfig +++ b/postgresql.sysconfig @@ -2,15 +2,22 @@ # # Edit postgresql.conf file in database cluster directory to configure -# PostgreSQL. When you want to start more then one PostgreSQL instance, -# than you should change TCP/IP port, at least. +# PostgreSQL. If you want to start more than one PostgreSQL instance, +# you should change TCP/IP port, at least. # +# Under systemd each cluster is started under a different postgresql@.service +# instance, the default being postgresql@var-lib-pgsql.service +# +# To enable a new one use; /bin/systemctl enable postgresql@${instance}.service + +# locale used at service postgresql init +# PG_INIT_LOCALE=C # standard setting -# POSTGRES_DB_CLUSTERS="/var/lib/pgsql" +PG_DB_CLUSTERS="/var/lib/pgsql" # predictable usage -# POSTGRES_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02" +# PG_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02" # new database disk arrived -# POSTGRES_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02 /mnt/db/01" +# PG_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02 /mnt/db/01"