Charles.Forsyth20060303-partialeea662d19 years agoHistory
69 lines · 1.5 KB · Text
RawDownload
.TH NTSRV 10.1 Windows.SH NAMEntsrv \- start hosted Inferno as Windows service.SH SYNOPSIS.B ntsrv.B add.IR "svcname rootdir cmd" " [" arg " ... ]".PP.B ntsrv.B del.I svcname.SH DESCRIPTION.I Ntsrvis a command (for Windows only) that allows hosted Infernoto run automatically as a Windows service, under Windows 2000 and XP.For Windows NT, use the command.BR ntsrv4 ,which otherwise has identical interface..I Svcnameis the (proposed) Windows service name;.I rootdiris the root of the Inferno directory tree,including the drive letter.Once added, a service can be controlled using the Windows service manager:it may be stopped, started, or have its attributes changed..I Svcnameis set to start automatically when Windows starts up.Services run by default under the local Windows `System' identity.All Windows processes and threads the service creates (eg, using.IR cmd (3))are destroyed when the service is stopped.There may be many different services, each with a distinct.IR svcname ..PP.I Ntsrv 'sfirst parameter tells it what to do:.TP.B addAdd a new service.I svcnamethat when started will invoke.IR emu (1)to run the Inferno command.I cmdwith any additional arguments..TP.B delDelete an existing service.IR svcname ..PP.I Ntsrvrequires the directory.IR rootdir /Nt/386/binto contain both.B emu.exe(ie,.IR emu (1))and.B ntsrv.exeitself..SH FILES.TF c:/inferno/Nt/386/bin.TP.IB rootdir /Nt/386/binWindows host executables.SH SOURCE.B /utils/ntsrv.SH SEE ALSO.IR emu (1)