summaryrefslogtreecommitdiffstats
path: root/postgresql-ctl.in
blob: 05bf60b3dc76890dbcd8dc6425c1c5ceaf15639d (plain)
1
2
3
4
5
6
7
#!/bin/bash

# This script is compat-wrapper for PGPORT specifying directly in
# postgresql.service.  There is not possible to do conditional step in service
# file based on (non)existence of PGPORT variable.

@bindir@/pg_ctl "$@" ${PGPORT+-o "-p $PGPORT"}