~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[alpine-devel] [PATCH] testing/haproxy: fixed init script, updated contributor

Jeff Bilyk
Details
Message ID
<1295722317-1802-1-git-send-email-jbilyk@gmail.com>
Sender timestamp
1295722317
DKIM signature
missing
Download raw message
Patch: +6 -6
Fixed init script to point to proper path to haproxy and updated contributor
---
 testing/haproxy/APKBUILD      |    6 +++---
 testing/haproxy/haproxy.initd |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/testing/haproxy/APKBUILD b/testing/haproxy/APKBUILD
index 4c09b15..9f8355d 100644
--- a/testing/haproxy/APKBUILD
+++ b/testing/haproxy/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=haproxy
pkgver=1.4.10
pkgrel=0
pkgrel=1
pkgdesc="A TCP/HTTP reverse proxy for high availability environments"
url="http://haproxy.1wt.eu"
arch="all"
@@ -26,4 +26,4 @@ package() {
}

md5sums="c35a7b7820d6da6c34cfd952805b4e85  haproxy-1.4.10.tar.gz
7d26095c6f899b0ef00bedecaca58864  haproxy.initd"
cce88addaac6ee8065633b94c404300d  haproxy.initd"
diff --git a/testing/haproxy/haproxy.initd b/testing/haproxy/haproxy.initd
index 82a1067..68b7e0f 100644
--- a/testing/haproxy/haproxy.initd
+++ b/testing/haproxy/haproxy.initd
@@ -13,7 +13,7 @@ checkconfig() {
		eerror "${CONFFILE} does not exist!"
		return 1
	fi
	/usr/bin/haproxy -c -f "${CONFFILE}" >/dev/null 
	/usr/sbin/haproxy -c -f "${CONFFILE}" >/dev/null 
}

depend() {
@@ -27,7 +27,7 @@ start() {

	ebegin "Starting ${SVCNAME}"
	start-stop-daemon --start --quiet \
		--exec /usr/bin/haproxy \
		--exec /usr/sbin/haproxy \
		-- -D -p "${PIDFILE}" -f "${CONFFILE}"
	eend ${?}
}
@@ -40,6 +40,6 @@ stop() {

reload() {
	ebegin "Reloading ${SVCNAME}"
	/usr/bin/haproxy -D -p "${PIDFILE}" -f "${CONFFILE}" -sf $(cat "${PIDFILE}")
	/usr/sbin/haproxy -D -p "${PIDFILE}" -f "${CONFFILE}" -sf $(cat "${PIDFILE}")
	eend ${?}
}
-- 
1.7.3.5



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)