i am trying to figure out one more thing with my spin file, and i
think i will have everything set up correctly..

i copied my spin file from another site, and it seems okay, but it
can't get it to stop or restart because it can't find the pid file..

my spin file looks like this:

,----[ script/spin ]
| #!/bin/sh
|
| #~/Sites/Deployed/Thrive_Project/current/script/process/spawner \
|   mongrel_rails start \
|   --environment=production \
|   --port=5000
`----

i think i may add a -d to it to daemonize the script..

sooooo..

when i try to stop or restart the server, i get:

,----[ results ]
| cap deploy:restart
|   * executing `deploy:restart'
|   * executing "~/Sites/Deployed/Thrive_Project/current/script/process/reaper"
|     servers: ["thrive-oh.org"]
|     [thrive-oh.org:8724] executing command
| *** [err :: thrive-oh.org:8724] Couldn't find any pid file in
'/home/thriveoh/Sites/Deployed/Thrive_Project/releases/20090219031900/tmp/pids'
matching 'dispatch.[0-9]*.pid'
| *** [err :: thrive-oh.org:8724]
| *** [err :: thrive-oh.org:8724] (also looked for processes matching
"/home/thriveoh/Sites/Deployed/Thrive_Project/releases/20090219031900/public/dispatch.fcgi")
| *** [err :: thrive-oh.org:8724]
|     command finished
`----

anyone have any ideas on this?

thanks!

-- 
___
peace,
sergio
www.village-buzz.com
photographer, journalist, visionary

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to