From 22994bb8694b8aa8b1094f1e7f24f499816fa1a4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 26 May 2025 21:17:15 +0200 Subject: Add postgresql --- rc.postgresql/postgresql-srv/env/CMD | 1 + rc.postgresql/postgresql-srv/env/CMD_OPTS | 1 + rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE | 1 + rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE | 1 + rc.postgresql/postgresql-srv/env/PG_VERSION | 1 + 5 files changed, 5 insertions(+) create mode 100644 rc.postgresql/postgresql-srv/env/CMD create mode 100644 rc.postgresql/postgresql-srv/env/CMD_OPTS create mode 100644 rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_FILE create mode 100644 rc.postgresql/postgresql-srv/env/PG_OOM_ADJUST_VALUE create mode 100644 rc.postgresql/postgresql-srv/env/PG_VERSION (limited to 'rc.postgresql/postgresql-srv/env') 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 -- cgit v1.2.3