diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-09-11 22:54:19 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2005-09-11 22:54:19 +0000 |
commit | cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107 (patch) | |
tree | d83c531d948f635bfd1e2282cba73fd6db1595f6 /app-misc/klive/files | |
parent | Apply errno patch if ipv6 patch is not applied. (diff) | |
download | historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.tar.gz historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.tar.bz2 historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.zip |
Initial import, ebuild by Christoph Brill on bug #104276 with some modifications of my own.
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'app-misc/klive/files')
-rw-r--r-- | app-misc/klive/files/digest-klive-0.7 | 1 | ||||
-rw-r--r-- | app-misc/klive/files/klive.init.d | 22 |
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 +} |