summaryrefslogtreecommitdiff
path: root/contrib/gentoo.rc.vdradmind
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gentoo.rc.vdradmind')
-rw-r--r--contrib/gentoo.rc.vdradmind20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/gentoo.rc.vdradmind b/contrib/gentoo.rc.vdradmind
new file mode 100644
index 0000000..b0f8fb5
--- /dev/null
+++ b/contrib/gentoo.rc.vdradmind
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /cvsroot/gentoo-deutsch/ebuilds/net-www/vdradmind/files/rc.vdradmind,v 1.2 2003/05/26 20:06:22 mad Exp $
+
+depend() {
+ need vdr
+}
+
+start() {
+ ebegin "Starting vdradmind"
+ /usr/bin/vdradmind.pl
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping vdradmind"
+ start-stop-daemon --stop --quiet --pidfile /var/run/vdradmind.pid
+ eend $?
+}