Python daemon and popen2
Thomas Guettler
guettli at thomas-guettler.de
Mon Sep 6 10:42:58 EDT 2004
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
More information about the Python-list
mailing list