diff options
author | girgen <girgen@FreeBSD.org> | 2005-12-26 04:06:23 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2005-12-26 04:06:23 +0800 |
commit | 745a5cbd651a1b96f09de987f1a88c8057f05903 (patch) | |
tree | f83ac37bc30d80b97610ff3cfda0a2cb0d3c492c /databases/postgresql92-server | |
parent | 5ab89c284a828bed4824e1cb73de0cb5b8a041fa (diff) | |
download | freebsd-ports-graphics-745a5cbd651a1b96f09de987f1a88c8057f05903.tar.gz freebsd-ports-graphics-745a5cbd651a1b96f09de987f1a88c8057f05903.tar.zst freebsd-ports-graphics-745a5cbd651a1b96f09de987f1a88c8057f05903.zip |
Handle a change in rc.subr. nowadays, "faststart" is used instead of
"start" when booting, since there's no need waste time checking for
running processes when the OS is starting up.
Bumping portrevision.
PR: 90884
Submitted by: Victor Snezhko <snezhko@indorsoft.ru>
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r-- | databases/postgresql92-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql92-server/files/pgsql.sh.tmpl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index 52f6100d8db..6a99def196c 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-server/Makefile @@ -8,7 +8,7 @@ PORTNAME?= postgresql PKGNAMESUFFIX?= -server PORTVERSION?= 8.1.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${PORTVERSION} diff --git a/databases/postgresql92-server/files/pgsql.sh.tmpl b/databases/postgresql92-server/files/pgsql.sh.tmpl index 8d975d54303..2f7554620e8 100644 --- a/databases/postgresql92-server/files/pgsql.sh.tmpl +++ b/databases/postgresql92-server/files/pgsql.sh.tmpl @@ -35,7 +35,7 @@ postgresql_class=${postgresql_class:-"default"} name=postgresql rcvar=`set_rcvar` command=${prefix}/bin/pg_ctl -command_args="-D ${postgresql_data} ${postgresql_flags} $1" +command_args="-D ${postgresql_data} ${postgresql_flags}" extra_commands="reload initdb" start_cmd="postgresql_command start" @@ -48,7 +48,7 @@ initdb_cmd="postgresql_initdb" postgresql_command() { - su -l ${postgresql_user} -c "exec ${command} ${command_args}" + su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}" } postgresql_initdb() |