X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=BC 8Bj8bLrp5l/L8GMh7wqTxgpVMKAXWJyV7TAKLrs3izpUtPOnwJJo1iNGDN1GMmiP XSpOrHdMIY+x3xI244BozY9z+fR9pAADsVg57JwjTmavDPT24/D2mWfDAgYlH93+ vMSdvN6WgP13ebL3QBaBD7rM+IUNEvCUgzDUxVCfM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=vhZfYfIr MbjVKHPcX5LGK8jhF58=; b=svpkUhedwua2MuAuiHIq6WYr+KtKp/VovqgxIFTT UUUojb8Rd2KLpnEJ+sUxeLWoGdKA+uoY5oijlLVzBhrqoT5oMHqAlgJlrwbdap9h yXp1Llb2SRu5WBYpAJZZMBxq3Fu6z9tQPAHhylSC2h/oE1konGJ3MphqT0D0cJnP jHw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f43.google.com MIME-Version: 1.0 X-Received: by 10.224.80.67 with SMTP id s3mr5058756qak.84.1420640985274; Wed, 07 Jan 2015 06:29:45 -0800 (PST) In-Reply-To: <54AD2C72.6070704@gmail.com> References: <54AD2C72 DOT 6070704 AT gmail DOT com> Date: Wed, 7 Jan 2015 15:29:45 +0100 Message-ID: Subject: Re: Windows Services control - start-stop-restart From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 2015-01-07 13:54 GMT+01:00 Marco Atzeri : > On 1/7/2015 1:35 PM, Simao Pereira wrote: >> >> Hello to Cygwin Community >> >> i just started using CygWin on my job, and since it has a Windows culture, >> there is not a native Linux/Unix Plataform. >> so, in order to bring some power to the system i have installed cygwin. >> >> now my problem: >> after implementing my routines (bash scripting for handling and generate >> files) i need to stop/launch Windows Sevices. >> after online search i found that *cygrunsrv * is a tool native, but i >> could >> only figure out how to control services instaled on my CygWin. >> >> The services that i am trying to stop/start are from foreign software >> providers that consume those files i now automaticly produce. but for that >> to happen the service has to be restarted > > > To start not cygwin services you need to use the windows commands > net start / net stop > > for cygwin services > cygrunsrv -S /cygrunsrv -E > > do exactly the same Hello, But ... cyrunsrv -S / -E also works for non-pure-cygwin services. My two cents. > >> what i need is some guides on Where to go now. >> >> Thanks all for your understanding if it is a old/stupid question but i >> didint find mutch information online >> >> >> Simao Pereira >> Portugal >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple