|
Lines 89-95
start() {
Link Here
|
| 89 |
--env "PGPORT=${configured_port}" \ |
89 |
--env "PGPORT=${configured_port}" \ |
| 90 |
${extraenv} \ |
90 |
${extraenv} \ |
| 91 |
--pidfile ${DATA_DIR%/}/postmaster.pid \ |
91 |
--pidfile ${DATA_DIR%/}/postmaster.pid \ |
| 92 |
--exec /usr/lib/postgresql-@SLOT@/bin/pg_ctl \ |
92 |
--exec /usr/@LIBDIR@/postgresql-@SLOT@/bin/pg_ctl \ |
| 93 |
-- start -s -w -t ${START_TIMEOUT} -l ${DATA_DIR%/}/postmaster.log \ |
93 |
-- start -s -w -t ${START_TIMEOUT} -l ${DATA_DIR%/}/postmaster.log \ |
| 94 |
-D ${PGDATA} -o "--data-directory=${DATA_DIR} ${PGOPTS}" |
94 |
-D ${PGDATA} -o "--data-directory=${DATA_DIR} ${PGOPTS}" |
| 95 |
local retval=$? |
95 |
local retval=$? |
|
Lines 124-130
stop() {
Link Here
|
| 124 |
|
124 |
|
| 125 |
# Loops through nice, rude, and force quit in one go. |
125 |
# Loops through nice, rude, and force quit in one go. |
| 126 |
start-stop-daemon --stop \ |
126 |
start-stop-daemon --stop \ |
| 127 |
--exec /usr/lib/postgresql-@SLOT@/bin/postgres \ |
127 |
--exec /usr/@LIBDIR@/postgresql-@SLOT@/bin/postgres \ |
| 128 |
--retry ${retries} \ |
128 |
--retry ${retries} \ |
| 129 |
--pidfile ${DATA_DIR%/}/postmaster.pid |
129 |
--pidfile ${DATA_DIR%/}/postmaster.pid |
| 130 |
|
130 |
|