1. Remove a rather strangely gratuitous bit of profanity
[unix-history] / sbin / init.chmr / init.conf
CommitLineData
800ffe89
NW
1# This is the /etc/init.conf file.
2# It is read on startup by the chmr-init program, before /etc/rc or
3# singleuser shell is executed.
4#
5# WARNING: You can easily make your system unbootable if you specify
6# wrong values in this file. Make sure you know exactly what you
7# are doing, and always have a boot floppy prepared !
8#
9# Blank lines and lines beginning with '#' are ignored.
10# All keywords can be abbreviated to their shortest unambiguous form.
11# ("st s" is the same as "startup_state singleuser").
12# Case is ignored in keywords, but retained in string values.
13#
14#
15# Set the debug level high, so that you can see the configuration process
16# Note that you also have to edit /etc/syslog.conf so that messages of type
17# daemon.debug are written somewhere. Otherwise they go to /dev/null.
18#
19# This keyword is only available if init was compiled with -DDEBUG .
20# Note that it produces *a lot* of noise !
21#debug 5
22#
23#
24# You can also include another config file here:
25#include "/etc/init.conf2"
26#
27#
28# To which mode the machine boots: "singleuser" or "multiuser"
29startup_state multiuser
30#
31#
32# The command to be executed for a singleuser shell.
33# Note that this is specified as "command arg0 arg1", i.e. the first argument
34# give here is passed as argv[0] to the command.
35singleusershell "/bin/sh -"
36#
37# Terminal type for singleusershell
38singleuserterm "pc3"
39#
40# Device on which the singleusershell is started, relative to /dev.
41singleuserdevice "console"
42#
43#
44# autobootcommand is started to execute /etc/rc if the system is started
45# directly to multiuser mode; In all other cases (transition from singleuser
5803f191 46# to multiuser) fastbootcommand isn't started.
800ffe89
NW
47autobootcommand "/bin/sh sh /etc/rc autoboot"
48fastbootcommand "/bin/sh sh /etc/rc"
49#
50#
51# Timeout values, in seconds for shutdown to singleuser mode:
52# how long to wait for child processes after sending SIGTERM:
53timeout shutdown sigterm 10
54# how long to wait after sending SIGKILL:
55timeout shutdown sigkill 30
56#
57#
58# If an error occurs (out of memory, fork failed,...) retry the same operation
59# after this many seconds (0 disables):
60timeout error-retry 300
61#
62#
63# Parameters for a failing getty process:
64# check the exit status of the process to see if it is failing:
65respawn checkstatus yes
66# if the process terminates within this many seconds, assume it is failing:
67respawn checktime 3
68## don't check the time the process is alive
69#respawn checktime no
70#
71#
72# *************************************************************
73# configuration parameters that are applicable to ALL processes
74# *************************************************************
75#
76# Set an environment variable that is accessible from all processes on this
77# system (not very useful, but it was easy to implement 8-)
78setenv HOSTTYPE "386bsd"
79#
80#
81# Configure default resource limits for *all* processes on this system, except
82# init itself. Soft limits are quietly truncated to the corresponding
83# hard limit. A limit is left alone if it is no specified or specified as
84# 'default'.
85#
86# Cpu time limit; 1:00:00 == 1h == 60m == 3600s == 3600
87hardlimit cputime unlimited
88limit cputime unlimited
89#
90# Maximum file size; 1m == 1024k == 1048576b == 1024
91hardlimit filesize unlimited
92limit filesize 512m
93#
94# Maximum size of DATA segment
95hardlimit datasize 32m
96limit datasize 16m
97#
98# Stack segment...
99hardlimit stacksize 32m
100limit stacksize 512k
101#
102# Maximum size of a core dump
103hardlimit coredumpsize unlimited
104limit coredumpsize 0
105#
106# Maximum use of physical memory per process
107hardlimit memoryuse default
108limit memoryuse default
109#
110# Maximum number of bytes lockable in-core
111hardlimit memorylocked default
112limit memorylocked default
113#
114# Maximum number of processes per user
115hardlimit maxprocesses 64
116limit maxprocesses 40
117#
118# Maximum number of open files, per process
119hardlimit openfiles default
120limit openfiles 128
121#
122#
123#
124# End of configuration -- set debug level back to 0
125#debug 0