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 Ok and Cancel buttons. To move between the list of services and the Ok and Cancel buttons, use the [Tab] key. An * signifies that a service is set to on. The [F1] key will pop up a short description of each service.

WarningWarning
 

Changes do not take effect immediately after using ntsysv. You must stop or start the individual service with the command service daemon stop. In the previous example, replace daemon with the name of the service you want to stop; for example, httpd. Replace stop with start or restart to start or restart the service. If you want to start or stop a service which is managed by xinetd, use the command service xinetd restart.