[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rc.local at debian ?
- To: "Ben-Nes Michael" <miki(at-nospam)canaan.co.il>
- Subject: Re: rc.local at debian ?
- From: Shaul Karl <shaulka(at-nospam)bezeqint.net>
- Date: Mon, 07 May 2001 01:38:51 +0300
- cc: "linux ILUG" <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Message from "Ben-Nes Michael" <miki@canaan.co.il> of "Sun, 06 May 2001 16:05:11 +0300." <003c01c0d62d$2f21f1c0$a55796d4@canaan.co.il>
- References: <003c01c0d62d$2f21f1c0$a55796d4@canaan.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
> Hi All
>
> Where or what is the rc.local on debian ?
>
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6991122
> http://sites.canaan.co.il
> --------------------------
>
[01:28:42 debian-policy]$ zgrep -A8 10.3.4 /usr/share/doc/debian-policy/policy.
txt.gz
10.3.4. Boot-time initialization
--------------------------------
There used to be another directory, `/etc/rc.boot', which contained
scripts which were run once per machine boot. This has been
deprecated in favour of links from `/etc/rcS.d' to files in
`/etc/init.d' as described in Section 10.3.1, `Introduction'.
Packages must not place files in `/etc/rc.boot'.
[01:28:51 debian-policy]$
Note that this is consistent with:
[01:31:39 tmp]$ zgrep -A6 'Only things' /usr/share/doc/sysvinit/README.runlevel
s.gz
Only things that need to be run once to get the system in a consistent
state are to be run. The rcS.d directory is NOT ment to replace rc.local.
One should not start daemons in this runlevel unless absolutely
nessecary. Eg, NFS might need the portmapper, so it is OK to start it
early in the bootprocess. But this is not the time to start the
squid proxy server.
[01:31:47 tmp]$
You might also want to read subsections 10.5 and 10.6 of the Debian FAQ.
--
Shaul Karl <shaulka@bezeqint.net>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il