I don't know how are you starting the supervisor (init script), but supervisor (ran as run) can switch it's user by
[supervisord] user = nobody So you should check this in your supervisor config. But generally it may not be a good idea to run your app as root and droping the priviledges yourself.. Usualy you start your app on higher port as ordinary user and proxy the ports (nginx http(s), haproxy for tcp..). Ales ------------------------------------------------------ Ales Zoulek +420 604 332 515 Jabber: [email protected] ------------------------------------------------------ On Wed, May 23, 2012 at 10:30 PM, Allard Schipper <[email protected] > wrote: > First of all, thank you for making Supervisord! It has been a great help > to manage my websites and Python apps. > > I am having a hard time getting Supervisord to run a simple Python server > (policy server for Flash, port 843) with a port number under 1024. It > requires to have a program start as root. I have supervisord running as > nobody. I realize it should be run as root though. I tried to kill > supervisord and then start it again but of course supervisord is resilient > and restarts itself as nobody again. How do I get around this problem and > get supervisord to run as root? > > Once supervisord is running as root, starting programs as root, does my > app need to drop the root priviliges? > > Thanks, Allard > > _______________________________________________ > Supervisor-users mailing list > [email protected] > http://lists.supervisord.org/mailman/listinfo/supervisor-users > >
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
