I have a daemon handling some scheduled jobs that can be started / stopped by my pylons project so it can run even if the server is not running.
To daemonize my utilities I use this code: http://code.activestate.com/recipes/66012/#c9 If the daemon is running I get a error when paster serve reloads or I stop it with Ctrl-C and try to restart again: socket.error: [Errno 98] Address already in use running netstat I get: (mydevenv)# netstat -lp | grep 5000 tcp 0 0 localhost:5000 *:* LISTEN 25566/python and 25566 is the pid of my daemon while, before server crashes with above error, there figures paster pid So, isn't the `daemon` supposed to work properly? If I start it from shell instead of webpage it does not bind to port 5000... Any advice? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
