Skip site navigation (1) Skip section navigation (2)

Re: [7.03 on W2K as a service?]

From: "S(dot)L(dot)" <s0lao(at)netscape(dot)net>
To: Helmut KLARN <klarn(at)iiasa(dot)ac(dot)at>, pgsql-ports(at)postgresql(dot)org
Subject: Re: [7.03 on W2K as a service?]
Date: 2000-11-24 09:44:36
Message-ID: 20001124074436.3561.qmail@www0b.netaddress.usa.net (view raw or flat)
Thread:
Lists: pgsql-ports
The recommended way to run almost any program as a service (those with such
service valencies), as folks at cygwin mail list say
(http://sources.redhat.com/ml/cygwin/) is to use the SrvAny utlility in NT
SDK.

Another common way to do this, is to place a shortcut to your program in the
StartUp folder either for the Default User or for All Users profile on the
system. But this requires at least to logon the console before these shorcuts
execute.

Yet, another way to automatically start programs on any windows platform is to
place a proper command line for them in a "run=" or "load=" statement of the
[windows] section of the win.ini file. Also since w95/NT4 (including w98/w98SE
and w2k) there are the [HKLM\Software\Microsoft\Windows\CurrentVersion\Run*]
or [HKLM\Software\Microsoft\Windows NT\CurrentVersion\Run*] registry keys that
manage such problems.

As a last note, only the first method allows to establish proper credentials
for starting such programs.

                                SLao

P.S.
On Nov 20 I posted a message on pgsql-ports mailing list about starting
different cygwin console apps, without having any cygwin console started.

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail

pgsql-ports by date

Next:From: Jason TishlerDate: 2000-11-27 18:09:25
Subject: Re: PostgreSQL for NT
Previous:From: W. van den AkkerDate: 2000-11-23 21:33:49
Subject: Re: PostgreSQL for NT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group