MAN page from PLD upstart-SysVinit-2.86-28.x86_64.rpm
INITSCRIPT
Section: Linux System Administrator's Manual (5)
Updated: July 10, 2003
Index NAME
initscript - script that executes inittab commands.
SYNOPSIS
/bin/sh /etc/sysconfig/initscript id runlevels action process
DESCRIPTION
When the shell script
/etc/sysconfig/initscript is present,
initwill use it to execute the commands from
inittab.This script can be used to set things like
ulimit and
umask default values for every process.
EXAMPLES
This is a sample initscript, which might be installed on yoursystem as
/etc/sysconfig/initscript.sample.
## initscript Executed by init(8) for every program it# wants to spawn like this:## /bin/sh /etc/sysconfig/initscript <id> <level> <action> <process># # Set umask to safe level, and enable core dumps. umask 022 ulimit -c 2097151 PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH # Increase the hard filedescriptor limit for all processes # to 8192. The soft limit is still 1024, but any unpriviliged # process can increase it's soft limit up to the hardlimit # with "ulimit -Sn xxx" (needs a 2.2.13 or later Linux kernel). ulimit -Hn 8192 # Execute the program. eval exec "$4"
NOTES
This script is not meant as startup script for daemons or somesuch.It has nothing to do with a
rc.local style script. It's justa handler for things executed from
/etc/inittab. Experimentingwith this can make your system un(re)bootable.
FILES
/etc/inittab,/etc/sysconfig/initscript.
AUTHOR
Miquel van Smoorenburg ,<miquelsAATTcistron.nl>
SEE ALSO
init(8),
inittab(5).
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- EXAMPLES
- NOTES
- FILES
- AUTHOR
- SEE ALSO
This document was created byman2html,using the manual pages.