[tpop3d-discuss]running second instance
Jason Gaffney
jgaffney at hbs.net
Thu, 31 May 2007 16:02:17 -0500
This is a multi-part message in MIME format.
------_=_NextPart_001_01C7A3C6.F8E56981
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello all,
I hope someone can help me out. I am trying to get two instances of =
tpop3d running on the same box. The first one is running just fine. I =
can run the second instance manually just fine so I'm assuming my config =
files are OK. When I run it via /etc/init.d/ it tells me it's already =
running.
Here is my second instance of the init.d script, the first is untouched =
from the defaults.
Thanx for any help.
# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/files/tpop3d-init,v =
1.3 2004/07/14 23:52:18 agriffis Exp $
depend() {
need net
}
checkconfig() {
if [ ! -e /etc/tpop3d/vmail.tpop3d.conf ] ; then
eerror "You need an /etc/tpop3d/vmail.tpop3d.conf file =
to run tpop3d"
return 1
fi
}
start() {
checkconfig || return 1
ebegin "Starting vmail.tpop3d"
start-stop-daemon --start \
--exec /usr/sbin/tpop3d -- -p /var/run/vmail.tpop3d -f =
/etc/tpop3d/vmail.tpop3d.conf
eend $?
}
stop() {
ebegin "Stopping tpop3d"
start-stop-daemon --stop --exec /usr/sbin/tpop3d
eend $?
}
Jason Gaffney
MCNE, ASE-Netware, AIS-Procurve
MCP, Project+, A+
Heartland Business Systems
------_=_NextPart_001_01C7A3C6.F8E56981
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7651.59">
<TITLE>running second instance</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>Hello all,<BR>
<BR>
I hope someone can help me out. I am trying to get two instances =
of tpop3d running on the same box. The first one is running just =
fine. I can run the second instance manually just fine so I'm =
assuming my config files are OK. When I run it via /etc/init.d/ it =
tells me it's already running.<BR>
<BR>
Here is my second instance of the init.d script, the first is untouched =
from the defaults.<BR>
Thanx for any help.<BR>
<BR>
# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/files/tpop3d-init,v =
1.3 2004/07/14 23:52:18 agriffis Exp $<BR>
<BR>
depend() {<BR>
need net<BR>
}<BR>
<BR>
checkconfig() {<BR>
if [ ! -e =
/etc/tpop3d/vmail.tpop3d.conf ] ; then<BR>
&=
nbsp; eerror "You need an /etc/tpop3d/vmail.tpop3d.conf =
file to run tpop3d"<BR>
&=
nbsp; return 1<BR>
fi<BR>
}<BR>
<BR>
start() {<BR>
checkconfig || return 1<BR>
ebegin "Starting =
vmail.tpop3d"<BR>
start-stop-daemon --start =
\<BR>
&=
nbsp; --exec /usr/sbin/tpop3d -- -p /var/run/vmail.tpop3d -f =
/etc/tpop3d/vmail.tpop3d.conf<BR>
eend $?<BR>
}<BR>
<BR>
stop() {<BR>
ebegin "Stopping =
tpop3d"<BR>
start-stop-daemon --stop =
--exec /usr/sbin/tpop3d<BR>
eend $?<BR>
}<BR>
<BR>
<BR>
Jason Gaffney<BR>
MCNE, ASE-Netware, AIS-Procurve<BR>
MCP, Project+, A+<BR>
Heartland Business Systems<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C7A3C6.F8E56981--