Maybe someone has encountered this. I have a user on the deployment
system for the site, and that user can start the app fine. I can ssh in
as them, they own all the tg files, and running ./start-momcafe.py is
cool.

I also have supervisord running, and it can start the site fine if
running as root, so this is my supervisord.conf

[program:start-momcafe.py]
;user=momcafe

command=python /home/momcafe/momcafe-live/start-momcafe.py
momcafe-live-prod.cfg             

directory=/home/momcafe/momcafe-live

But when I take out the comment char and set user=momcafe, so that
supervisord will switch to that user before executing the command,
supervisord fails to start the app. I know supervisord is supposed to be
ok as root, but I'm guessing it's not really supposed to start my apps
as root. 

Anyone encounter this?

Thanks
Iain


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to