[tpop3d-discuss]running second instance

Daniel Tiefnig tpop3d at inode.at
Fri, 01 Jun 2007 00:25:34 +0200


Jason Gaffney wrote:
> Here is my second instance of the init.d script, the first is
> untouched from the defaults.

As I don't know the default gentoo init script, I can just guess.

> start-stop-daemon --start \ --exec /usr/sbin/tpop3d -- -p
> /var/run/vmail.tpop3d -f /etc/tpop3d/vmail.tpop3d.conf

Maybe you should change the pidfile here. Is it the same as in the
default init script? start-stop-daemon will check if the pidfile exists,
and refuse to start the daemon if so.

hth,
daniel