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