summaryrefslogtreecommitdiff
path: root/rc.postgresql/postgresql-srv/env
diff options
context:
space:
mode:
Diffstat (limited to 'rc.postgresql/postgresql-srv/env')
-rw-r--r--rc.postgresql/postgresql-srv/env/CMD1
-rw-r--r--rc.postgresql/postgresql-srv/env/CMD_OPTS1
-rw-r--r--rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE1
-rw-r--r--rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE1
-rw-r--r--rc.postgresql/postgresql-srv/env/PG_VERSION1
5 files changed, 5 insertions, 0 deletions
diff --git a/rc.postgresql/postgresql-srv/env/CMD b/rc.postgresql/postgresql-srv/env/CMD
new file mode 100644
index 0000000..ebd1610
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/env/CMD
@@ -0,0 +1 @@
+/usr/lib64/postgresql/${PG_VERSION}/bin/postgres
diff --git a/rc.postgresql/postgresql-srv/env/CMD_OPTS b/rc.postgresql/postgresql-srv/env/CMD_OPTS
new file mode 100644
index 0000000..ebe0e69
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/env/CMD_OPTS
@@ -0,0 +1 @@
+-D /var/lib/pgsql/${PG_VERSION}/data
diff --git a/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE b/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE
new file mode 100644
index 0000000..ab41318
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE
@@ -0,0 +1 @@
+/proc/self/oom_score_adj
diff --git a/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE b/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE
@@ -0,0 +1 @@
+0
diff --git a/rc.postgresql/postgresql-srv/env/PG_VERSION b/rc.postgresql/postgresql-srv/env/PG_VERSION
new file mode 100644
index 0000000..8351c19
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/env/PG_VERSION
@@ -0,0 +1 @@
+14