aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-13 07:38:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-13 07:38:01 +0000
commitbe90815191de2bd764d7585662e9600761186c8f (patch)
tree713b66539661dc9978eaf0de44fde1cc9457a9e3
parent302c02714d402525cba6b24b2470ff1f99dab8d1 (diff)
downloadaports-be90815191de2bd764d7585662e9600761186c8f.tar.bz2
aports-be90815191de2bd764d7585662e9600761186c8f.tar.xz
main/git: update init.d script
-rw-r--r--main/git/APKBUILD8
-rw-r--r--main/git/git-daemon.initd4
2 files changed, 7 insertions, 5 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index 243575c12c..4ad68ab5d2 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=git
pkgver=1.8.2.3
-pkgrel=0
+pkgrel=1
pkgdesc="A distributed version control system"
url="http://git.or.cz/"
arch="all"
@@ -74,13 +74,13 @@ svn() {
md5sums="03ebfd403a8cf355da0e3f15e53b8925 git-1.8.2.3.tar.gz
e63a201556c4f089de790805c09a2e5b bb-tar.patch
-3f0bdf6ca73bf4f015bc8565ab787969 git-daemon.initd
+c92d9339a131e708cc65e1cac1e2520a git-daemon.initd
2258e95d389ccc6de0b5111d53d9eed6 git-daemon.confd"
sha256sums="ba8d42d47b0955b17905af0133b01ab8e3f28f0e39b9967ec446403c0b49991f git-1.8.2.3.tar.gz
cb6319f47d81605e199771350154cbed0a6e85ef9042a689f2b405c64039f49c bb-tar.patch
-46725cf0f7feeb55eb07ccb39667aefb261fa9ea45f290f8bae09efd01f0cd1a git-daemon.initd
+02eb703e3638275104e12c8057f16b9a858ac5c8dc56d2e9ca68d7d3250a1917 git-daemon.initd
aaa80bd059db549dadf4c4e27a9aa41a4b5def844f8e563c493bc8513dcd981e git-daemon.confd"
sha512sums="9b9d777ed1cc6beb87dc3783e4873365c59e83b324ec1739cf9823f68d318c8f76107a664f06499d73c2cc2120f3ecc3b04d3603a99e7c3147ef334b0609caf0 git-1.8.2.3.tar.gz
6fa088a753c2a697e8dbef2032ed63e8c2a0553a41cff2fcff893c2f35c51d2c697054cc921c23ee606f77b93d0f340df85220b15e1c470bd352f7fba3986cd0 bb-tar.patch
-3f3c658321a9f50b68109972cc1920e07a7a1ad94977c7e21a2b7ee764895e0f6af2d125c5fbbed95ec65981de562962caa57f4ae9f3969ac9dc1e5f60bc521e git-daemon.initd
+6321ea464f0c1d6245a0722e02ff3dc29996e41fb8d9f3c747bfdd914dc1284e6eb62a7d6057e4f99c0c8a23c3e57f9ff76f2cf18d19272f3cc599877f999c41 git-daemon.initd
9640f8078d68ed2678e5249da3f946fc21f50e858b94127a4221de73c6132101afcd46bc1fe33861e9a7f731c0dc9591915b8ebf376b8e690cd7135703966509 git-daemon.confd"
diff --git a/main/git/git-daemon.initd b/main/git/git-daemon.initd
index cb26b512f1..032a14592c 100644
--- a/main/git/git-daemon.initd
+++ b/main/git/git-daemon.initd
@@ -12,7 +12,9 @@ depend() {
start() {
ebegin "Starting git-daemon"
- /usr/bin/git daemon --detach \
+ start-stop-daemon --start --quiet --background \
+ --pidfile ${PIDFILE} \
+ --exec /usr/bin/git -- daemon \
--pid-file=${PIDFILE} \
--user=${GIT_USER} --group=${GIT_GROUP} \
${GITDAEMON_OPTS}