Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Demon on startup
  1994-08-05 17:53 Demon on startup Tak Woo
@ 1994-08-05  8:01 ` Ralf Eckstein
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Eckstein @ 1994-08-05  8:01 UTC (permalink / raw)


t.woo@dstc.edu.au (Tak Woo) writes:

>How do I add demons such as httpd to let it start at boot time. In
>Ultrix I add them into rc.local, but I am not sure how I can add them
>to /sbin/rc3.d.

I have installed the following script to /sbin/rc3.d/S97httpd (use the
appropriate number). All files in /sbin/rc3.d are executed while
the system is changing to run level 3, so you can add scripts of your own.
Numbering the files is neccessary to have them executed in the right order.

Ralf.

######################### begin #####################################
#!/sbin/sh
#
# HISTORY
#
# @(#)httpd
#
# Ralf Eckstein 27.7.1994
#

PATH=/sbin:/usr/sbin:/usr/bin
export PATH

case "$1" in
'start')
	/usr/sbin/httpd  -r /usr/local/lib/www/httpd.conf
	echo "http daemon started"
	;;
'stop')
	;;
esac
######################### end #######################################
-- 
                          __
           Ralf Eckstein  \/  eckstein@tp2.physik.uni-erlangen.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Demon on startup
@ 1994-08-05 17:53 Tak Woo
  1994-08-05  8:01 ` Ralf Eckstein
  0 siblings, 1 reply; 2+ messages in thread
From: Tak Woo @ 1994-08-05 17:53 UTC (permalink / raw)




Hi,

How do I add demons such as httpd to let it start at boot time. In
Ultrix I add them into rc.local, but I am not sure how I can add them
to /sbin/rc3.d.

Thanks!

Tak

===============================================================================
Tak Woo                                   Email: t.woo@dstc.edu.au
CRC for Distributed Systems Technology
Bond University                           Phone: +61 (0)75 953301
Gold Coast, AUSTRALIA                     Fax  : +61 (0)75 915609

                WWW: http://dstc.Bond.edu.au:91776/tkwoo/tkwoo.html
===============================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-08-05 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-05 17:53 Demon on startup Tak Woo
1994-08-05  8:01 ` Ralf Eckstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox