Re: on differnt port

adam morley <[email protected]> Sun, 20 Apr 2003 07:17:55 -0700
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
On Sun, Apr 20, 2003 at 03:25:27PM +0200, clemens fischer wrote:
> Russell Nelson <[email protected]>:
> 
> > This presumes that the entries in /service are always symlinks,
> > which isn't a requirement for /service.
> 
> i read somewhere (sorry, can't remember where), that /service/*
> entries can't be anything but symlinks.  since svc(8) and friends
> chdir(2) into service directories, there's no reason for it, though.
> the execute permission is the only requirement for that chdir(2).

goggole gives me this:

http://cr.yp.to/slash.html, which says /service is a directory of symlinks.

this, however:

http://cr.yp.to/daemontools/svscan.html

seems to imply that a directory different from /service could also be managed
by svscan, and it wouldn't need to hold symlinks.  (at least its a directory
different from /service, given that /service is defined by djb's hierarchy
as a directory of symlinks, or so I read it.)

But I'm not entirely sure.  BTW, thanks to David Phillips for the -x option
I'd never used that one before, I'd always just killed the supervise process
manually.  (which is probably bad and wrong.)

-- 
adam