aboutsummaryrefslogtreecommitdiffstats
path: root/main/git/git-daemon.initd
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 /main/git/git-daemon.initd
parent302c02714d402525cba6b24b2470ff1f99dab8d1 (diff)
downloadaports-be90815191de2bd764d7585662e9600761186c8f.tar.bz2
aports-be90815191de2bd764d7585662e9600761186c8f.tar.xz
main/git: update init.d script
Diffstat (limited to 'main/git/git-daemon.initd')
-rw-r--r--main/git/git-daemon.initd4
1 files changed, 3 insertions, 1 deletions
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}