Line
Link Here
|
0 |
-- a/dev-util/git/files/git-daemon.initd |
0 |
++ b/dev-util/git/files/git-daemon.initd |
Lines 11-22
depend() {
Link Here
|
11 |
start() { |
11 |
start() { |
12 |
ebegin "Starting git-daemon" |
12 |
ebegin "Starting git-daemon" |
13 |
start-stop-daemon --start --quiet --background \ |
13 |
start-stop-daemon --start --quiet --background \ |
14 |
--exec /usr/bin/git -- daemon ${GITDAEMON_OPTS} |
14 |
--exec /usr/libexec/git-core/git-daemon -- \ |
|
|
15 |
--pid-file=/var/run/git-daemon.pid \ |
16 |
--user=git --group=git \ |
17 |
${GITDAEMON_OPTS} |
15 |
eend $? |
18 |
eend $? |
16 |
} |
19 |
} |
17 |
|
20 |
|
18 |
stop() { |
21 |
stop() { |
19 |
ebegin "Stopping git-daemon" |
22 |
ebegin "Stopping git-daemon" |
20 |
start-stop-daemon --stop --quiet --name git-daemon |
23 |
start-stop-daemon --stop --quiet \ |
|
|
24 |
--pidfile /var/run/git-daemon.pid |
21 |
eend $? |
25 |
eend $? |
22 |
} |
26 |
} |