summaryrefslogtreecommitdiff
path: root/rc.postgresql/postgresql-srv/data
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-05-26 21:17:15 +0200
committerEugen Wissner <belka@caraus.de>2025-05-26 21:17:15 +0200
commit22994bb8694b8aa8b1094f1e7f24f499816fa1a4 (patch)
treefd3480dbfab0b899dffa3d6a8b37024cad961ecc /rc.postgresql/postgresql-srv/data
parent1e8f8cd3dd65236cb48cbcd69b18245bf8eb6977 (diff)
downloads6-22994bb8694b8aa8b1094f1e7f24f499816fa1a4.tar.gz
Add postgresql
Diffstat (limited to 'rc.postgresql/postgresql-srv/data')
-rwxr-xr-xrc.postgresql/postgresql-srv/data/check7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.postgresql/postgresql-srv/data/check b/rc.postgresql/postgresql-srv/data/check
new file mode 100755
index 0000000..bc8bb10
--- /dev/null
+++ b/rc.postgresql/postgresql-srv/data/check
@@ -0,0 +1,7 @@
+#!/bin/execlineb -P
+
+s6-envdir env
+importas -u PG_VERSION PG_VERSION
+pipeline { tail -n1 /var/lib/pgsql/${PG_VERSION}/data/postmaster.pid }
+pipeline { tr -d " \n" }
+xargs test ready =