aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql81-server/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql81-server/files/pgsql.sh.tmpl')
-rw-r--r--databases/postgresql81-server/files/pgsql.sh.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql81-server/files/pgsql.sh.tmpl b/databases/postgresql81-server/files/pgsql.sh.tmpl
index e6a538b409a2..3456ed3d7282 100644
--- a/databases/postgresql81-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql81-server/files/pgsql.sh.tmpl
@@ -20,6 +20,7 @@
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
+command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
@@ -34,7 +35,6 @@ postgresql_class=${postgresql_class:-"default"}
name=postgresql
rcvar=`set_rcvar`
-command=${prefix}/bin/pg_ctl
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"