summaryrefslogtreecommitdiff
path: root/dev-util/git/files/git-daemon.initd
Unidiff
Diffstat (limited to 'dev-util/git/files/git-daemon.initd') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-util/git/files/git-daemon.initd22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-util/git/files/git-daemon.initd b/dev-util/git/files/git-daemon.initd
deleted file mode 100644
index 2563c41..0000000
--- a/dev-util/git/files/git-daemon.initd
+++ b/dev/null
@@ -1,22 +0,0 @@
1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/dev-util/git/files/git-daemon.initd,v 1.1 2005/10/05 15:05:04 ferdy Exp $
5
6depend() {
7 need net
8 use logger
9}
10
11start() {
12 ebegin "Starting git-daemon"
13 start-stop-daemon --start --quiet --background \
14 --exec /usr/bin/git-daemon -- ${GITDAEMON_OPTS}
15 eend $?
16}
17
18stop() {
19 ebegin "Stoping git-daemon"
20 start-stop-daemon --stop --quiet --name git-daemon
21 eend $?
22}