iain duncan schrieb:
> [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. 

Which version of supervisor are you using?

I am using supervisor 2.1 with the following config on a Linux server:

user=<username>
command=env USER=<username> HOME=/home/<username> start-<appname>

Btw, Chris Arndt has some helpful info on supervisor on his blog here:
http://paddyland.serveblog.net/article/13

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
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