* Where is /etc/rc.local
@ 1995-03-21 23:22 Brian Weaver
1995-03-22 2:29 ` Yi-Kai Tsai
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Brian Weaver @ 1995-03-21 23:22 UTC (permalink / raw)
Please help a new osf/1 admin. Can someone tell me the
equivilent of /etc/rc.local under osf/1 2.0 ? I.E. where
httpd would be launched from on boot..
thanks
-- Brian
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Where is /etc/rc.local
1995-03-21 23:22 Where is /etc/rc.local Brian Weaver
@ 1995-03-22 2:29 ` Yi-Kai Tsai
1995-03-22 14:22 ` George Chaltas
1995-03-22 17:52 ` Joseph B. Gurman
2 siblings, 0 replies; 4+ messages in thread
From: Yi-Kai Tsai @ 1995-03-22 2:29 UTC (permalink / raw)
Brian Weaver (weaver@vagus.vth.colostate.edu) wrote:
: Please help a new osf/1 admin. Can someone tell me the
: equivilent of /etc/rc.local under osf/1 2.0 ? I.E. where
: httpd would be launched from on boot..
There is no rc.local under OSF/1 ,
httpd can add in /sbin/rc3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is /etc/rc.local
1995-03-21 23:22 Where is /etc/rc.local Brian Weaver
1995-03-22 2:29 ` Yi-Kai Tsai
@ 1995-03-22 14:22 ` George Chaltas
1995-03-22 17:52 ` Joseph B. Gurman
2 siblings, 0 replies; 4+ messages in thread
From: George Chaltas @ 1995-03-22 14:22 UTC (permalink / raw)
weaver@vagus.vth.colostate.edu (Brian Weaver) wrote:
>
> Please help a new osf/1 admin. Can someone tell me the
> equivilent of /etc/rc.local under osf/1 2.0 ? I.E. where
> httpd would be launched from on boot..
>
> thanks
>
> -- Brian
>
There isn't a single monolithic script as there is under ULTRIX.
Instead there are directories containing startup (and shutdown)
scripts. You probably want to launch your daemon when your system
goes to run-level 3 (full multi-user), so you should do something
like this:
Write a Bourne shell script that starts and stops your daemon,
based on its first argument ("start" or "stop").
Put it in the directory /sbin/init.d, name it anything you like
so long as it doesn't conflict with what's already there. You'll
probably want to look at some of the scripts that are already
there for examples (try the xdm script). You may want to reference
the script /etc/rc.config in your script, to define variables
including the hostname and network address.
After you've put your script in place (make sure it has the executable
bits set!), go to /sbin/rc3.d and make a soft link to your script.
The link should have a name that starts with S followed by a two digit
number -- these scripts are executed in numerical order, so
put yours after any others that need to be running before yours
can start (such as the S00inet script).
This should get you started.
George Chaltas
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Where is /etc/rc.local
1995-03-21 23:22 Where is /etc/rc.local Brian Weaver
1995-03-22 2:29 ` Yi-Kai Tsai
1995-03-22 14:22 ` George Chaltas
@ 1995-03-22 17:52 ` Joseph B. Gurman
2 siblings, 0 replies; 4+ messages in thread
From: Joseph B. Gurman @ 1995-03-22 17:52 UTC (permalink / raw)
In article <3knn3s$26bt@yuma.ACNS.ColoState.EDU>,
weaver@vagus.vth.colostate.edu (Brian Weaver) wrote:
> Please help a new osf/1 admin. Can someone tell me the
> equivilent of /etc/rc.local under osf/1 2.0 ? I.E. where
> httpd would be launched from on boot..
Brian -
The boot/startup and shutdown (or crash)/shutdown is System V-ish in
OSF/1, er, DigitalUnix: take a look at /sbin/init.d, and /sbin/rc*.d, and
at pages 4-8 to 4-12 in the OSF/1 V2.0 System Administration manual.
Joe Gurman
--
J.B. Gurman / Solar Physics Branch/ NASA Goddard Space Flight Center/
Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while|
| at work. Therefore, any opinions expressed herein are somebody |
| else's. |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-03-22 17:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-21 23:22 Where is /etc/rc.local Brian Weaver
1995-03-22 2:29 ` Yi-Kai Tsai
1995-03-22 14:22 ` George Chaltas
1995-03-22 17:52 ` Joseph B. Gurman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox