diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-13 07:38:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-13 07:38:01 +0000 |
commit | be90815191de2bd764d7585662e9600761186c8f (patch) | |
tree | 713b66539661dc9978eaf0de44fde1cc9457a9e3 /main/git/git-daemon.initd | |
parent | 302c02714d402525cba6b24b2470ff1f99dab8d1 (diff) | |
download | aports-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.initd | 4 |
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} |