summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cvsd/files/cvsd.init')
-rw-r--r--dev-util/cvsd/files/cvsd.init19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/cvsd/files/cvsd.init b/dev-util/cvsd/files/cvsd.init
new file mode 100644
index 000000000000..9d79b5d8ceae
--- /dev/null
+++ b/dev-util/cvsd/files/cvsd.init
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting cvsd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/cvsd -- ${CVSD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping cvsd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/cvsd
+ eend $?
+}