summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2005-09-11 22:54:19 +0000
committerDaniel Drake <dsd@gentoo.org>2005-09-11 22:54:19 +0000
commitf480d853b6c36ef2682e638c6d3cf816da3820e2 (patch)
tree2f53ccf55ebe9167c916f61905ae0875fe49a28b /app-misc/klive/files
parentApply errno patch if ipv6 patch is not applied. (diff)
downloadgentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.tar.gz
gentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.tar.bz2
gentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.zip
Initial import, ebuild by Christoph Brill on bug #104276 with some modifications of my own.
(Portage version: 1.589-cvs)
Diffstat (limited to 'app-misc/klive/files')
-rw-r--r--app-misc/klive/files/digest-klive-0.71
-rw-r--r--app-misc/klive/files/klive.init.d22
2 files changed, 23 insertions, 0 deletions
diff --git a/app-misc/klive/files/digest-klive-0.7 b/app-misc/klive/files/digest-klive-0.7
new file mode 100644
index 000000000000..7cf2aa96c09f
--- /dev/null
+++ b/app-misc/klive/files/digest-klive-0.7
@@ -0,0 +1 @@
+MD5 3a39b7a81a5491804836862f37288536 klive-0.7.tar.bz2 19260
diff --git a/app-misc/klive/files/klive.init.d b/app-misc/klive/files/klive.init.d
new file mode 100644
index 000000000000..7db5f418b724
--- /dev/null
+++ b/app-misc/klive/files/klive.init.d
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-misc/klive/files/klive.init.d,v 1.1 2005/09/11 22:54:19 dsd Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting KLive"
+ /bin/su - klive -c "twistd --syslog --pidfile=/tmp/klive.pid -oy /usr/share/klive/klive.tac" > /dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping KLive"
+ start-stop-daemon --stop --pidfile /tmp/klive.pid
+ eend $?
+ [[ -e /tmp/klive.pid ]] && rm /tmp/klive.pid
+ return 0
+}