www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/06/14:57:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Rob Brown" <rob AT vunetusa DOT com>
Subject: Re: cygrunsrv + base priority
Date: Tue, 6 May 2003 11:49:53 -0700
Lines: 15
Message-ID: <b9901u$mbv$1@main.gmane.org>
References: <b98rv4$1db$1 AT main DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0305061420160 DOT 11343-100000 AT slinky DOT cs DOT nyu DOT edu>
X-Complaints-To: usenet AT main DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> "man nice".
> HTH,
> Igor

Thanks, nice works... well... nicely.    (didn't know it was ported!)

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"





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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019