On Wed, May 18, 2005 at 07:17:47AM -0700, jth wrote: > Take a look at the --priority option. You'll have to start the > server as root to use this, so also use --user and --group to > change the effective ids of the server after it starts.
editing scripts that i don't want to have to do every time i upgrade... > There's also a --pidfile option as well if you prefer. ok, that brings up a better question: why isn't that the default? i ask because i pity the poor bastard named 'david slim' (username 'slimd') who gets some random process rolled over by the stop script. i'd be angry if some user started a process called slimdevicesrules.sh and then my slimserver wouldn't start because there's already a "server running". tough luck to someone trying to stop their slimserver running as user 'grep'! i could come up with more contrived examples, but the point is that using a pidfile by default would avoid these and similar problems. -- bill fumerola _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
