daemonize-talk Mailing List for Daemonize Library for Python
Status: Beta
Brought to you by:
jseutter
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Daryl S. <dar...@gm...> - 2008-04-21 21:09:37
|
The code from Python Cookbook, 2nd Edition, recipe 9.13 (on page 388) worked perfectly. -- Daryl On Thu, Apr 17, 2008 at 5:57 PM, Daryl Spitzer <dar...@gm...> wrote: > I just tried this on Linux (RHEL 3) and it didn't work. So it's > either a bug (not likely) or I'm making a mistake or bad assumption > (much more likely). > > Can anyone offer any help? > > -- > Daryl > > > > > On Thu, Apr 17, 2008 at 4:33 PM, Daryl Spitzer <dar...@gm...> wrote: > > I wrote my first daemon, but it didn't run. So I boiled it down to a > > very simple example, which also doesn't work: > > > > ---- > > > > #!/usr/bin/env python > > > > import daemonize > > > > def the_other_main_that_calls_the_main_function(): > > daemonize.start(main) > > > > def main(): > > print "main()!" > > > > if __name__ == "__main__": > > the_other_main_that_calls_the_main_function() > > > > ---- > > > > I tried deleting /tmp/daemonize.lock (and running again), but still nothing. > > > > Could it be a problem with Mac OS X (I'm running 10.5.2) or (more > > likely) am I not understanding something? > > > > -- > > Daryl Spitzer > > > > just tried this > |
|
From: Daryl S. <dar...@gm...> - 2008-04-18 00:57:42
|
I just tried this on Linux (RHEL 3) and it didn't work. So it's either a bug (not likely) or I'm making a mistake or bad assumption (much more likely). Can anyone offer any help? -- Daryl On Thu, Apr 17, 2008 at 4:33 PM, Daryl Spitzer <dar...@gm...> wrote: > I wrote my first daemon, but it didn't run. So I boiled it down to a > very simple example, which also doesn't work: > > ---- > > #!/usr/bin/env python > > import daemonize > > def the_other_main_that_calls_the_main_function(): > daemonize.start(main) > > def main(): > print "main()!" > > if __name__ == "__main__": > the_other_main_that_calls_the_main_function() > > ---- > > I tried deleting /tmp/daemonize.lock (and running again), but still nothing. > > Could it be a problem with Mac OS X (I'm running 10.5.2) or (more > likely) am I not understanding something? > > -- > Daryl Spitzer > just tried this |
|
From: Daryl S. <dar...@gm...> - 2008-04-17 23:33:49
|
I wrote my first daemon, but it didn't run. So I boiled it down to a
very simple example, which also doesn't work:
----
#!/usr/bin/env python
import daemonize
def the_other_main_that_calls_the_main_function():
daemonize.start(main)
def main():
print "main()!"
if __name__ == "__main__":
the_other_main_that_calls_the_main_function()
----
I tried deleting /tmp/daemonize.lock (and running again), but still nothing.
Could it be a problem with Mac OS X (I'm running 10.5.2) or (more
likely) am I not understanding something?
--
Daryl Spitzer
|