Hi everyone,

I'm using fabric to deploy my app on a debian server.
To do it, i need to:

1 - stop the app
2 - upload the tar.bz2
3 - extract the new tar file
4 - start the app.

Every step is working, except the last one. When i try to start the
app via /etc/init.d/myapp start, fabric just stops.
I tracked down the problem to the start-stop-daemon tool.

If i try this task:

def start():
    sudo("start-stop-daemon --start --quiet --pidfile
/var/run/myapp.pid --exec /usr/local/sbin/daemon.py")

It just hangs.

Anyone knows a workaround?

--
Fernando "Takai"
http://flickr.com/photos/supeertakai
http://twitter.com/fernando_takai

Get Ubiquity: https://ubiquity.mozilla.com


_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to