On 07/20/2010 07:11 PM, Chris McDonough wrote: > Sorry, no, there is no way to set process niceness level as a supervisor > parameter right now, you'll need to set things up so that supervisor > controls a shell script that sets the niceness level and then execs your > "real" program. >
The 'nice' tool can exec something else with a different priority, so this workaround is probably shorter than the proper config option would be :) # from my config [program:darcsweb_8004] directory=/opt/darcsweb command=nice /opt/darcsweb/serve user=nobody autostart=true That said, I'm still in favor of eventually having config options for every possible process parameter. There aren't *that* many of them. _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
