delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/31/10:05:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5F7343857801
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=iname.com
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=bstewart AT iname DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com;
s=dbd5af2cbaf7; t=1609427079;
bh=ETdU7qOVfsqJTh20nW8r8lQ+KwuuFvsdvanIr487+bY=;
h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To;
b=3oJ9MBpVSOxk2pO4RyMrz0dmsNzFNdxSIncscKqQekWJIn2ukRnkN1h+dlQSFDxmK
C80qvgw9ZcU3yc/TxslrhkENyPZ7Tt4+N3QfQv6RnpfIwaKPwO0dQPvveMNTkycalb
+DQyEc4wgyHjSR/qj2T7nlPGRn2vfNXNtEotij8o=
X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79
X-Gm-Message-State: AOAM532n8r5kMDcUMCtVvclTfNqBvnI1SrxuZReParFAsMR0BN5PDG0d
4+jDm3Wmp4U2MUwREv4NlgabNCrd85yK1Pqli9s=
X-Google-Smtp-Source: ABdhPJxjZEcNXTh24ufySBw9S5bsJUSDcNb0ZrmThE/SRNZOravyjIPX8Bmrko2+2losuvoAdNZFB5dUHBIXeVBmS3E=
X-Received: by 2002:a2e:9787:: with SMTP id y7mr27875551lji.420.1609427076680;
Thu, 31 Dec 2020 07:04:36 -0800 (PST)
MIME-Version: 1.0
References: <vriuwnwznjj7 DOT fsf AT gavenkoa DOT example DOT com>
In-Reply-To: <vriuwnwznjj7.fsf@gavenkoa.example.com>
From: Bill Stewart <bstewart AT iname DOT com>
Date: Thu, 31 Dec 2020 08:04:09 -0700
X-Gmail-Original-Message-ID: <CANV9t=S_nuHHOszBa3Q0-VEcGmxVO0VBL0rystJ3fL4ivDP6=A AT mail DOT gmail DOT com>
Message-ID: <CANV9t=S_nuHHOszBa3Q0-VEcGmxVO0VBL0rystJ3fL4ivDP6=A@mail.gmail.com>
Subject: Re: Setting env var CYGWIN for Cygwin service?
To: cygwin AT cygwin DOT com
X-Provags-ID: V03:K1:UjR8BUb7tDkG0GqnLtGinkxgFP/0GBQ0QDAusNxhaAWpAjIhFrQ
c8GHeG9T1e2HEfmQJ50av0TqW5IlyjbBcyHXIIyRqOBA2f5bAPGm3AbcJjPxGbOq9sXVMlv
xsV5k2BxrG7GplNgETkK+jHWEJspu9ogmxKtib5H8lr7FwT9LqzrBf/tkQcMKJRSXVZFNX2
ioe/zrkv/lYRckLuqYhgQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:cWrXNl4XheI=:orrcjkJPjXl6bGp2XPJzHr
txwe55d4yfGPBIRzlWUcmHDAjqpS6riskz8a3lVtLSU6/undbF4lmWO7WNTKbtCMUYIJhgVj2
Jk6EbQGYaZRM/67ECQkM6vMjTUgjDhiFijxz/ywGCCpWo88t5FbVezcG/tJqQdHXuLGnwV48D
GYnfIXHCmVU1kmQUcPsPfGlaxBg2SffJ+sTvUs3C1g5XJvgc2AWCTGjAvDRu9P5fX7sz9Etfz
d8HVlFSxSTqiaO0VHNR/yRlX2g64d5lVG6YHcaDqx6eWu+cW4+6gvcWlejf9chgabPVXb7Crp
8S5hElB+voAcMbGQUiScj0wKeIj1NqGcBC816WWo0QxylgEMEtXOWh1LWrbTVWbVVqFoy+pBv
OiPRDxvXzFUo/WJzvQpk+OGFK1vC+zFXBHTkIkJXTb1azyr56laTPlAApsu6zmBF6Ymid6x2z
9iu0wrRa/cnLBIAcVW+cRPatj7YiMQOBiUDn/XM7cW8hNJn0F5gTOsDL9185ZzK3VtiQwmjrm
y8VupLh1SjhXqcJHH9I6oeFXSnrte5MAU2urIdOC7SDwiCG1P20TljS2Ii3fsB85Pf/h6gPuM
7Fh33lLmESlmRbfHTBZh0LzDl8Qv/peKBLZWXmF86c2E1PlUxo55k5LP+8rVqaDO0Hz5Wfjbb
8Lj3QpPT6kJQd5iMmG6FsMyE8m+mtY02sbSu3uTOhkwCxeU5jBXjd2W3wA3qCaboS0iLrfvJU
cH/b8uN4y62uOInCr62Aia+6qYXJh/7R7yIFNc86gSIOBM8Lh3skj8EuKPOIsstqaGSH/c9UC
2KrnnPWNCE8E7jRTf9wGWjP89N68z4ffUcUIvf2+q3BVHqKLj4XjwekKT5QjHrWCpheXwF3b7
T8jyvVvN5J0R+SER+7+w==
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Wed, Dec 30, 2020 at 1:09 PM Oleksandr Gavenko wrote:

> What way can I pass env var "CYGWIN" to the Cygwin service?

cygrunsrv --help shows this:

-e, --env <VAR=VALUE>    Optional environment strings which are added
to the environment when service is started. You can add up to 255
environment strings using the `--env' option.

These are added as REG_SZ values in
HKLM\SYSTEM\CurrentControlSet\Services\<servicename>\Parameters\Environment
registry subkey.

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

- Raw text -


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