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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (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.4: +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.305,v 1.4 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 eend $? "Error starting omniORB."
21 }
22
23 stop() {
24 ebegin "Stopping omniORB"
25 killall omniNames 1>&2
26 eend $? "Error stopping omniORB."
27 }

  ViewVC Help
Powered by ViewVC 1.1.20