Re: [7.03 on W2K as a service?] - Mailing list pgsql-ports

From S.L.
Subject Re: [7.03 on W2K as a service?]
Date
Msg-id 20001124074436.3561.qmail@www0b.netaddress.usa.net
Whole thread Raw
List 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:

Previous
From: "W. van den Akker"
Date:
Subject: Re: PostgreSQL for NT
Next
From: Jason Tishler
Date:
Subject: Re: PostgreSQL for NT