I also recommend looking at systemd and Upstart, even in combination
with twistd. Twisted's twistd will daemonize the process, but it won't
give you named services and a clean environment.
--
David Strauss
| da...@davidstrauss.net
___
Twisted-Python
On Oct 7, 2012, at 5:13 PM, Stephan wrote:
> hey Jean-Paul,
>
> I'm using twistd - if you see the daemon code it's in there to start and
> manage the service.
>
> For some reason the OC Daemon pastebin linkted didn't work but this one does:
>
> OC Daemon that starts the OC Service
> http://pa
On 8 Oct, 12:13 am, schene...@gmail.com wrote:
>hey Jean-Paul,
>
>I'm using twistd - if you see the daemon code it's in there to start
>and
>manage the service.
I see. However, you are not using it correctly. ;) The very last line
of the code you pasted is:
reactor.run()
When you use twi
hey Jean-Paul,
I'm using twistd - if you see the daemon code it's in there to start and
manage the service.
For some reason the OC Daemon pastebin linkted didn't work but this one
does:
OC Daemon that starts the OC Service
http://pastebin.com/g0UE7An8
still know don't know what to change to get
On 6 Oct, 10:30 pm, schene...@gmail.com wrote:
>Hi,
>
>I'm attempting to create an ubuntu service that when started will run
>in
>the background processing beanstalk jobs.
>I've taken the code from beanstalk-client twisted to act as my
>beanstalk
>client (
>https://github.com/dustin/beanstalk-cli