[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] Problem with start-stop-daemon
From: |
Fernando Takai |
Subject: |
[Fab-user] Problem with start-stop-daemon |
Date: |
Sun, 24 Jan 2010 17:24:18 -0200 |
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] Problem with start-stop-daemon,
Fernando Takai <=