summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-23 23:25:19 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-23 23:25:19 +0000
commita54eb798d7f09f63a7ba7a09e860c736caa89bf8 (patch)
treee7dc52bccf3bcefb44934ff79367a9c0ce78cf60 /net-misc/omniORB/files
parentremove a dodir /etc/rc.d/, as it is no longer in use (diff)
downloadgentoo-2-a54eb798d7f09f63a7ba7a09e860c736caa89bf8.tar.gz
gentoo-2-a54eb798d7f09f63a7ba7a09e860c736caa89bf8.tar.bz2
gentoo-2-a54eb798d7f09f63a7ba7a09e860c736caa89bf8.zip
moved rc-script config settings to /etc/conf.d
Diffstat (limited to 'net-misc/omniORB/files')
-rw-r--r--net-misc/omniORB/files/omniORB.rc632
1 files changed, 10 insertions, 22 deletions
diff --git a/net-misc/omniORB/files/omniORB.rc6 b/net-misc/omniORB/files/omniORB.rc6
index c224c3370330..320d85addabf 100644
--- a/net-misc/omniORB/files/omniORB.rc6
+++ b/net-misc/omniORB/files/omniORB.rc6
@@ -1,12 +1,7 @@
#!/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.rc6,v 1.3 2001/12/06 20:17:02 azarah Exp $
-#RCUPDATE:3 4:99:This line is required for script management
-
-SERVICE=omniORB
-EXE1="/usr/bin/omniNames"
-EXE2="/usr/bin/notifd"
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB.rc6,v 1.4 2001/12/23 23:25:19 azarah Exp $
depend() {
need net
@@ -19,24 +14,17 @@ start() {
if [ "/var/log/omniORB/omninames*" ] ; then
rm -f /var/log/omniORB/omninames*
fi
- ebegin "Starting ${SERVICE}"
- exec $EXE1 -start 2809 -logdir /var/log/omniORB -errlog /var/log/omniORB/omniORB.errors 1>&2 &
- exec $EXE2 -c /etc/omniorb/channel.cfg 1>&2 &
- eend $? "Error starting ${SERVICE}."
+ ebegin "Starting omniORB"
+ exec /usr/bin/omniNames -start 2809 -logdir /var/log/omniORB \
+ -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ exec /usr/bin/notifd -c /etc/omniorb/channel.cfg 1>&2 &
+ eend $? "Error starting omniORB."
}
stop() {
- ebegin "Stopping ${SERVICE}"
- killall $EXE1 1>&2
- killall $EXE2 1>&2
- eend $? "Error stopping ${SERVICE}."
-}
-
-restart() {
- stop
- start
+ ebegin "Stopping omniORB"
+ killall /usr/bin/omniNames 1>&2
+ killall /usr/bin/notifd 1>&2
+ eend $? "Error stopping omniORB."
}
-
-
-