diff options
Diffstat (limited to 'rc.postgresql/postgresql-srv/data/check')
| -rwxr-xr-x | rc.postgresql/postgresql-srv/data/check | 7 |
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 = |
