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
commit787d633b98b304c23ca51cfe761e6581986c3bbc (patch)
treed8c7bd945fd887420b3fdcad4bdb04138d17a520 /net-misc/omniORB
parentremove a dodir /etc/rc.d/, as it is no longer in use (diff)
downloadhistorical-787d633b98b304c23ca51cfe761e6581986c3bbc.tar.gz
historical-787d633b98b304c23ca51cfe761e6581986c3bbc.tar.bz2
historical-787d633b98b304c23ca51cfe761e6581986c3bbc.zip
moved rc-script config settings to /etc/conf.d
Diffstat (limited to 'net-misc/omniORB')
-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."
}
-
-
-