Python daemon and popen2

B

Bob Swerdlow

I've created a Python daemon that starts a bunch of BitTorrent downloader
process. Everything is working fine when I start the daemon by hand (logged
on as root). I can quit the session and see that the daemon is running and
the subprocesses are running, too. However, when I configure the system to
automatically start the daemon on boot-up, the daemon runs, but the
processes are not created.

This is on Solaris 8 with Python 2.3.3. The processes are started with
popen2. I'm starting the processes with a script in /etc/rc3.d/S81btseeds.

Any suggestions? Why should it care that it is running at start-up?

Bob Swerdlow
COO
Transpose
(e-mail address removed)
207-781-8284
http://www.transpose.com
 
T

Thomas Guettler

Am Fri, 03 Sep 2004 15:12:04 -0400 schrieb Bob Swerdlow:
I've created a Python daemon that starts a bunch of BitTorrent downloader
process. Everything is working fine when I start the daemon by hand (logged
on as root). I can quit the session and see that the daemon is running and
the subprocesses are running, too. However, when I configure the system to
automatically start the daemon on boot-up, the daemon runs, but the
processes are not created.

This is on Solaris 8 with Python 2.3.3. The processes are started with
popen2. I'm starting the processes with a script in /etc/rc3.d/S81btseeds.

Any suggestions? Why should it care that it is running at start-up?

Hi,

The environment is different. Check for $HOME, $PATH, umask, ...

HTH,
Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top