- 求职 : Linux运维
- 论坛徽章:
- 203
|
没有这个选项
OPTIONS
--level levels
Specifies the run levels an operation should pertain to. It is
given as a string of numbers from 0 to 6. For example, --level
35 specifies runlevels 3 and 5.
--add name
This option adds a new service for management by chkconfig.
When a new service is added, chkconfig ensures that the service
has either a start or a kill entry in every runlevel. If any
runlevel is missing such an entry, chkconfig creates the appro-
priate entry as specified by the default values in the init
script. Note that default entries in LSB-delimited ’INIT INFO’
sections take precedence over the default runlevels in the
initscript; if any Required-Start or Required-Stop entries are
present, the start and stop priorities of the script will be
adjusted to account for these dependencies.
--del name
The service is removed from chkconfig management, and any sym-
bolic links in /etc/rc[0-6].d which pertain to it are removed.
Note that future package installs for this service may run chk-
config --add, which will re-add such links. To disable a ser-
vice, run chkconfig name off.
--override name
If service name is configured exactly as it would be if the
--add option had been specified with no override file in
/etc/chkconfig.d/name, and if /etc/chkconfig.d/name now exists
and is specified differently from the base initscript, change
the configuration for service name to follow the overrides
instead of the base configuration.
--list name
This option lists all of the services which chkconfig knows
about, and whether they are stopped or started in each runlevel.
If name is specified, information in only display about service
name.
RUNLEVEL FILES
我用的是centos6.6
|
|