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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=Qyk53P+8eafhZcRTZ+IrLapGCbFYw9tuyubvhCQ6UnK io7nShdeslfsm0FsXMikbhpG/020HhVJr8oYwOQLlemuKVO6F8WmCCU9ZQD11Ym6 Dkmc9ZgYP1iJnbZH19Sx/xZ2yZKrzW3l6P8d5H4yNc/a6P6opD5xheRHdPPlX810 = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=f0ruzB8bLDCBNW9gQQjaWJek8Zc=; b=siEzleAYNa7jzCV52 g7sMDsjahCP0jez3EjPsQekNebduHBII+oakgq8XnmZytWuQrtH9LHmOjr62rrDC 9Bv3VJY1wVEXz+67Mrzf3lXZa0K4GMR79Hb9eaLVMBRUqYcvyxWJb61ZkfkjQVq0 EEc7LRqTYbGYi8v7mRifGpLBJ4= 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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f175.google.com X-Received: by 10.180.91.201 with SMTP id cg9mr7165099wib.63.1420635260880; Wed, 07 Jan 2015 04:54:20 -0800 (PST) Message-ID: <54AD2C72.6070704@gmail.com> Date: Wed, 07 Jan 2015 13:54:10 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Windows Services control - start-stop-restart References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 > 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