Christopher Arndt wrote:
> Richard Harding schrieb:
>   
>> I'm still working on test deploying a tg app using supervisor 2.
>>     
>
>   
>> I can't get any info on why it runs if I do foreground, and not if I 
>> just let it daemonize. Any ideas?
>>     
>
> What does '/var/log/tg-avw-supervisor.log' say?
>
> Chris
>
>   

If I set the program to run as the user root, instead of www-data it 
will run in the background like it's supposed to. So there must be some 
permission issue. Any ideas where to look for conflicts?

If I remove all of the log files that get created
/var/log/supervisord.log
/var/log/tg-avw-supervisor.log
and the tg specific /home/rharding/src/tg-avw/server.log

the first two get created when I run supervisor in the background with 
owner root:root and permissions 644. The tg-avw-supervisor.log is empty 
and the supervisord.log has the same series of errors I originally posted.

Other than the log files I don't know where else to look for permission 
issues. the entire /home/src/tg-admin directory tree is owned by 
rharding:www-data and 775.

Rick

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