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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-ports by date

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