On Thu, Dec 16, 1999 at 12:07:49AM +0100, Poul-Henning Kamp wrote: > I would prefer if the lines could be added to /etc/ttys somewhat > like: > sshd "/usr/local/sbin/sshd" none ondemand > > And then we could > telinit -on sshd > telinit -off sshd hal:/service# ls -l telnetd total 2 -rwxr-xr-x 1 root wheel 64 Sep 20 11:34 run drwx------ 2 root wheel 512 Dec 14 16:09 supervise hal:/service# cat telnetd/run #!/bin/sh exec \ tcpserver -RH -D 0 telnet /usr/libexec/telnetd hal:/service# svstat telnetd telnetd: up (pid 224) hal:/service# svc -d telnetd hal:/service# svstat telnetd telnetd: down, normally up hal:/service# svc -u telnetd hal:/service# svstat telnetd telnetd: up (pid 40965) init's role is assumed by a program named svscan. Of course, svscan not being init, it cannot control daemons that background themselves. http://cr.yp.to/daemontools.html -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: Init Re: MAKEDEV (Re: Speaking of movin... Poul-Henning Kamp
- Re: Init Re: MAKEDEV (Re: Speaking of movin... David Scheidt
- Re: Init Re: MAKEDEV (Re: Speaking of movin... Donn Miller
- Re: Init Re: MAKEDEV (Re: Speaking of movin... Mark Newton
- Re: Init Re: MAKEDEV (Re: Speaking of movin... Rodney W. Grimes
- Re: Init Re: MAKEDEV (Re: Speaking of movin... Daniel C. Sobral
- Re: MAKEDEV (Re: Speaking of moving files (... Peter Jeremy
- Re: MAKEDEV (Re: Speaking of moving files (... Poul-Henning Kamp
- Re: MAKEDEV (Re: Speaking of moving files (... Peter Jeremy
- Re: Init (was MAKEDEV et al) Lyndon Nerenberg
- Re: MAKEDEV (Re: Speaking of moving files (... Jos Backus
- Re: MAKEDEV (Re: Speaking of moving files (... Mark Newton
- Re: MAKEDEV (Re: Speaking of moving files (... Warner Losh
- Re: Speaking of moving files (Re: make worl... Matthew Thyer
- Re: Speaking of moving files (Re: make worl... Blaz Zupan
- Re: make world broken building fortunes Marcel Moolenaar
- Re: make world broken building fortunes Rodney W. Grimes
- Re: make world broken building fortunes Peter Jeremy
- Re: make world broken building fortunes Sheldon Hearn
- Re: make world broken building fortunes Peter Jeremy