/[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 - (hide annotations) (download)
Fri Sep 3 19:37:28 2004 UTC (15 years, 7 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removing old package.masked versions

1 phoenix 1.1 #!/sbin/runscript
2 agriffis 1.4 # Copyright 1999-2004 Gentoo Foundation
3 vapier 1.3 # Distributed under the terms of the GNU General Public License v2
4 caleb 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB.305,v 1.4 2004/07/15 00:07:09 agriffis Exp $
5 phoenix 1.1
6     depend() {
7 vapier 1.3 need net
8 phoenix 1.1 }
9    
10     start() {
11 vapier 1.3 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 phoenix 1.1 }
22    
23     stop() {
24 vapier 1.3 ebegin "Stopping omniORB"
25     killall omniNames 1>&2
26     eend $? "Error stopping omniORB."
27 phoenix 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20