Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2011 16:21:15 GMT
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/156818: [PATCH] databases/pgpool-II: add reload to startup script
Message-ID:  <201105041621.p44GLFuW048640@db04.dev.vega.ru>
Resent-Message-ID: <201105041630.p44GUBTX066948@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156818
>Category:       ports
>Synopsis:       [PATCH] databases/pgpool-II: add reload to startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 04 16:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anton Yuzhaninov
>Release:        FreeBSD 7.3-PRERELEASE-20100201 amd64
>Organization:
openstat.ru
>Environment:
System: FreeBSD db04.dev.vega.ru 7.3-PRERELEASE-20100201 FreeBSD 7.3-PRERELEASE-20100201 #0: Mon Feb  1 02:16:20 UTC
>Description:
Add reload command to startup script. While here remove spaces at end of line.

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pgpool-II-3.0.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/pgpool-II/files/pgpool.in /usr/home/ayuzhaninov/pgpool-II/files/pgpool.in
--- /usr/ports/databases/pgpool-II/files/pgpool.in	2010-03-28 04:10:04.000000000 +0000
+++ /usr/home/ayuzhaninov/pgpool-II/files/pgpool.in	2011-05-04 16:17:34.000000000 +0000
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # $FreeBSD: ports/databases/pgpool-II/files/pgpool.in,v 1.5 2010/03/27 00:12:48 dougb Exp $
-#        
+#
 # PROVIDE: pgpool
 # REQUIRE: LOGIN
 # KEYWORD: shutdown
@@ -38,6 +38,10 @@
 start_cmd="pgpool_start"
 stop_cmd="${command} ${command_args} stop"
 
+extra_commands="reload"
+reload_cmd="reload_cmd"
+reload_cmd="$command $command_args reload"
+
 required_files="${pgpool_conf}"
 
 pgpool_start()
--- pgpool-II-3.0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105041621.p44GLFuW048640>