andu a �crit :
> 
> >
> >Hi Anybody,
> >
> >As i have, this time, to do with WinNT, i'm searching the right way to configure
> >an .mc app as an NT long-running background service, to get it starting without
> >having to open an user session before it start (just like Apache or IIS4 are
> >starting at boot time).
> >
> >Any idea about what to do in using, servany, regedit or so on ?
> 
> Didn't get that far on NT but on Linux you probably just add a line to rc.local or 
>similar like:
> "mc /usr/sbin/mcstart.mt".
> Start.mt can look like this:
> #!mc
> on startup
> put "MetaCard started"
> end startup
> 
> ..and mc could be in /usr/sbin.
> 

Hi Andu,

You right : i use far this way under Linux and it run perfectly. The problem is
to get the same result under the WinNT4 plateform (the end-user client choice,
not mine, be sure of that !) ;-(


As info, my linux config :


1.- an /sbin/init.d/rc2.d/sh script :

#!/bin/sh
# Start/stop WMCL

case "$1" in
'start')
        /usr/local/httpd/w-max/iassd/wmcstart &
        ;;
'stop')
        killall -1 wmcstart
        ;;
*)
        echo "Usage: $0 { start | stop }"
        ;;
esac
exit 0


2.- the "wmcstart" mt script :

#!/home/py/mc
on startup
open stack "/usr/local/httpd/w-max/iassd/ia931.mc"
end startup


I'm, for yet, trying to setup an mc nt-service in using srvany.exe (NT4 resource
kit, issue 3) but cmc.exe (win32 console-metacard engine) is probably the next
purpose i will test. Any web/list-links about the cmc.exe setup, Scott ?

Thank's :-)

> >
> >Thank's for the help.
> >
> >Regards, Pierre Sahores
> >
> >chef de projet cyberlibrairie
> >SNPIN - CNDP. 91, rue Gabriel-Peri
> >92120 Montrouge. T�l.: 01.64.45.05.33
> >
> >Penser la part du r�ve et
> >produire l'avantage comp�titif.
> >
> >Archives: http://www.mail-archive.com/[email protected]/
> >Info: http://www.xworlds.com/metacard/mailinglist.htm
> >Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> >
> >.
> 
> Regards, Andu
> _______________________
> [EMAIL PROTECTED]
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Kind Regards, Pierre Sahores

chef de projet cyberlibrairie
SNPIN - CNDP. 91, rue Gabriel-Peri
92120 Montrouge. T�l.: 01.64.45.05.33

Penser la part du r�ve et
produire l'avantage comp�titif.

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to