blob: d4fcf8c5f1c9fa0369d3a4dc0dfaff67fb683150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsup/files/cvsupd.rc,v 1.4 2004/07/14 22:09:53 agriffis Exp $
depend() {
need net
}
start() {
ebegin "Starting cvsupd"
start-stop-daemon --start --quiet --background --exec /usr/bin/cvsupd \
-- ${MYCVSUPD_OPTS}
eend $? "Failed to start cvsupd"
}
stop() {
ebegin "Stopping cvsupd"
start-stop-daemon --stop --quiet --exec /usr/bin/cvsupd
eend $? "Failed to stop cvsupd"
}
|