Ntsysv - Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Manual

Hide thumbs Also See for LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE:
Table of Contents

Advertisement

Section 8.4:ntsysv
When you save changes to xinetd services, xinetd is restarted. When
you save changes to other services, the runlevel is reconfigured, but the
changes do not take effect immediately.
If you check or uncheck the
button will become active. Click it to reconfigure the currently selected runlevel. The
Changes
changes do not affect the system immediately. For example, assume you are configuring runlevel 3.
If you change the
Start at Boot
click the
Save Changes
at boot time. However, runlevel 3 is not reinitialized, so anacron is still running. Select one of
following options at this point:
1.
Stop the anacron service — Stop the service by selecting it from the list and clicking the
the selected service
successfully.
2.
Re-initialize the runlevel — Reinitialize the runlevel by going to a shell prompt (such as an XTerm
or GNOME terminal) and typing the command telinit 3 (where 3 is the runlevel number).
This option is recommended if you change the
want to activate the changes immediately.
3.
Do nothing else — You do not have to stop the anacron service. You can wait until the system is
rebooted for the service to stop. The next time the system is booted, the runlevel will be initialized
without the anacron service running.

8.4 ntsysv

The ntsysv utility provides a simple interface for activating or deactivating services. You can use
ntsysv to turn an xinetd-managed service on or off. You can also use ntsysv to start or stop a
service in the /etc/rc.d hierarchy; in that case, the ntsysv command (without options) is used
to configure current runlevel. If you want to configure a different runlevel, use something like ntsysv
--levels 016. (In this example, you would be setting the services for runlevels 0, 1 and 6.)
The ntsysv interface works like the textmode installation program. Use the up and down arrows to
navigate up and down the list. The space bar selects/unselects services and is also used to "press" the
and
buttons. To move between the list of services and the
Ok
Cancel
key. An
signifies that a service is set to on. The
[Tab]
*
service.
WARNING
value for a service in /etc/rc.d/init.d, the
Start at Boot
value for the anacron service from checked to unchecked and then
button, the runlevel 3 configuration changes so that anacron is not started
button. A message will be displayed stating that the service was stopped
Start at Boot
value of more than one service and
and
Ok
key will pop up a short description of each
[F1]
Save
Stop
buttons, use the
Cancel
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents