/[gentoo-x86]/net-misc/omniORB/files/omniORB.rc6
Gentoo

Contents of /net-misc/omniORB/files/omniORB.rc6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Sep 3 19:37:28 2004 UTC (15 years, 5 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Removing old package.masked versions

1 #!/sbin/runscript
2 # Copyright 1999-2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB.rc6,v 1.7 2004/07/15 00:07:09 agriffis Exp $
5
6 depend() {
7 need net
8 }
9
10 start() {
11 if [ ! -d "/var/log/omniORB" ] ; then
12 install -d /var/log/omniORB
13 fi
14 if [ "/var/log/omniORB/omninames*" ] ; then
15 rm -f /var/log/omniORB/omninames*
16 fi
17 ebegin "Starting omniORB"
18 exec /usr/bin/omniNames -start 2809 -logdir /var/log/omniORB \
19 -errlog /var/log/omniORB/omniORB.errors 1>&2 &
20 exec /usr/bin/notifd -c /etc/omniorb/channel.cfg 1>&2 &
21 eend $? "Error starting omniORB."
22 }
23
24 stop() {
25 ebegin "Stopping omniORB"
26 killall /usr/bin/omniNames 1>&2
27 killall /usr/bin/notifd 1>&2
28 eend $? "Error stopping omniORB."
29 }

  ViewVC Help
Powered by ViewVC 1.1.20