This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygrunsrv + base priority


On Tue, 6 May 2003, Rob Brown wrote:

> > "man nice".
> > HTH,
> > Igor
>
> Thanks, nice works... well... nicely.    (didn't know it was ported!)

"nice.exe" is part of the "sh-utils" package.

> I modified the registry for the service in:
> HKLM\SYSTEM\CurrentControlSet\Services\myservice\Parameters
> changed the AppPath key to be:
> AppPath        REG_SZ        "/usr/bin/nice.exe"
> and added an AppArgs key:
> AppArgs        REG_SZ        "-n -20 /bin/myservice.exe"

Hmm, now *that* you could have done directly via cygrunsrv... :-D
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]