Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated templates. Cleaned up readme some.

  • Loading branch information...
commit 047c5f7cd784bc8646ec3939a65dad3785a4cf57 1 parent bc8b7be
@wayneeseguin wayneeseguin authored
View
39 README.md
@@ -4,46 +4,43 @@ This SM Framework extension set contains the following postgresql related extens
### postgresql
-The PostgreSQL database system
-
- postgresql/README.md
+The PostgreSQL database system. Read postgresql/README.md for more details.
### pgpool
-Provides Connection Pooling, Replication, Load Balancing, Limiting Exceeding Connections, Parallel Query
-
- pgpool/README.md
+Provides Connection Pooling, Replication, Load Balancing, Limiting Exceeding Connections, Parallel Query.
+Read pgpool/README.md for more details.
### pgbouncer
-Provides Session pooling, Transaction pooling, Statement pooling
-
- pgbouncer/README.md
+Provides Session pooling, Transaction pooling, Statement pooling.
+Read pgbouncer/README.md for more details.
### postgis
-adds support for geographic "spatial" objects to the PostgreSQL object-relational database.
-
- postgis/README.md
+adds support for geographic "spatial" objects to the PostgreSQL
+object-relational database.
+Read postgis/README.md for more details.
### queue\_classic
-a PostgreSQL-backed queueing library that is focused on concurrent job locking, minimizing database load & providing a simple & intuitive user experience
-
- queue_classic/README.md
+a PostgreSQL-backed queueing library that is focused on concurrent job locking,
+minimizing database load & providing a simple & intuitive user experience.
+Read queue\_classic/README.md for more details.
### repmgr
-a set of open source tools that helps DBAs and System administrators manage a cluster of PostgreSQL databases
-
- repmgr/README.md
+a set of open source tools that helps DBAs and System administrators manage a
+cluster of PostgreSQL databases.
+Read repmgr/README.md for more details.
### slony
-a "master to multiple slaves" trigger based replication system for PostgreSQL supporting cascading (e.g. - a node can feed another node which feeds another node...) and failover.
-
- slony/README.md
+a "master to multiple slaves" trigger based replication system for PostgreSQL
+supporting cascading (e.g. - a node can feed another node which feeds another
+node...) and failover.
+Read slony/README.md for more details.
# Installation
View
2  postgresql/templates/conf.d
@@ -7,7 +7,7 @@ WAIT_FOR_START="-w"
WAIT_FOR_STOP="-w"
# How long to wait for server to start in seconds
-START_TIMEOUT=60
+START_TIMEOUT={{start_timeout}}
# Ignore new connections and wait for clients to disconnect from server before
# shutting down.
View
4 postgresql/templates/monitrc.mustache
@@ -1,7 +1,7 @@
check process postgres with pidfile {{service_pid_file}}
group database
- start program = "/etc/init.d/postgresql start"
- stop program = "/etc/init.d/postgresql stop"
+ start program = "sm postgresql start"
+ stop program = "sm postgresql start"
if failed unixsocket /var/run/postgresql/.s.PGSQL.{{port}} protocol pgsql
then restart
if failed host {{bind}} port {{port}} protocol pgsql then restart
View
1  postgresql/templates/postgresql.conf
@@ -1,4 +1,3 @@
-# cat /var/db/postgresql/active/postgresql.conf
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
View
4 postgresql/templates/systemd
@@ -6,8 +6,8 @@ After=network.target
[Service]
Type=forking
-User=postgres
-Group=postgres
+User={{service_user}}
+Group={{service_user}}
# Note: avoid inserting whitespace in these Environment= lines, or you may
# break postgresql-setup.
Please sign in to comment.
Something went wrong with that request. Please try again.