summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2002-12-15 18:35:05 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2002-12-15 18:35:05 +0000
commit87d586b7ea938eb72cb1455386ecb9154c3cdefd (patch)
tree3d8cd1761c95069f967f97b5e91ba6cb3a66b7cd /net-misc/omniORB/files
parentUnmasking perl 5.8 for arch testing. it is getting to the point where it (diff)
downloadgentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.tar.gz
gentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.tar.bz2
gentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.zip
fixed bug (init script got not installed)
Diffstat (limited to 'net-misc/omniORB/files')
-rw-r--r--net-misc/omniORB/files/omniORB-4.0.028
1 files changed, 28 insertions, 0 deletions
diff --git a/net-misc/omniORB/files/omniORB-4.0.0 b/net-misc/omniORB/files/omniORB-4.0.0
new file mode 100644
index 000000000000..e81ff66fed32
--- /dev/null
+++ b/net-misc/omniORB/files/omniORB-4.0.0
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB-4.0.0,v 1.1 2002/12/15 18:35:05 lordvan Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ if [ ! -d "/var/log/omniORB" ] ; then
+ install -d /var/log/omniORB
+ fi
+ if [ "/var/log/omniORB/omninames*" ] ; then
+ rm -f /var/log/omniORB/omninames*
+ fi
+ ebegin "Starting omniORB"
+ exec /usr/bin/omniNames -start 2809 -logdir /var/log/omniORB \
+ -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ eend $? "Error starting omniORB."
+}
+
+stop() {
+ ebegin "Stopping omniORB"
+ killall omniNames 1>&2
+ eend $? "Error stopping omniORB."
+}
+