home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.infosystems.gopher
- Path: sparky!uunet!wupost!darwin.sura.net!aplcen.apl.jhu.edu!aplcenmp!prm
- From: prm@aplcenmp.apl.jhu.edu (Paul Raymond McMullin)
- Subject: Re: No logging when running ``gopherd -u gopher'' ?
- Message-ID: <BzrMzM.7GJ@aplcenmp.apl.jhu.edu>
- Organization: Johns Hopkins Continuing Professional Programs
- References: <SHENTON.92Dec23155051@nsisrv.gsfc.nasa.gov>
- Date: Thu, 24 Dec 1992 13:33:22 GMT
- Lines: 21
-
- This sounds like a question for the FAQ:
-
- (Q) "Howcum gopher works differently from inetd than from when I was
- running it as a stand-alone process?"
-
- (A) Most unix(tm) systems appear to have a limit of 5 parameters that
- are passed from the inetd invocation line to the program. This is
- remedied by "wrapping" the invocation in a shell script, and invoking the
- script from inetd ala:
-
- #!/bin/sh
- cd /export1/sdnet/newgopher/gopherd
- gopherd -I -o /export1/sdnet/newgopher/gopherd/gopherd.conf \
- -l /export1/sdnet/newgopher/gopher.log \
- -u sdnet -c /export1/sdnet/newgopher/gopher-data 70
-
- or whatever it is that you need to be doing...
-
- -prm
- --
- Paul McMullin prm@aplcomm.jhuapl.edu
-