vdt-control - Enable and disable VDT services
vdt-control [options] [service-name(s)]
--on
--off
--force
--no-start
--help
Note: The optional service name(s) only apply to --on and --off.
OR
vdt-control --list [service-name(s)]
OR
vdt-control --enable/--disable service-name(s)
This program is used to enable and disable services installed by the VDT. Enable means to install-it at the system-wide level, and possibly start the service. Specifically, enable means:
For init services: Install into /etc/init.d and start service
For cron jobs: Install into crontab
For xinetd services: Install into /etc/services and /etc/xinetd and
restart xinetd
To disable a service means to reverse the above operation:
For init services: Stop service and remove from /etc/init.d For cron jobs: Remove from crontab For xinetd services: Remove from /etc/services and /etc/xinetd
After you have installed the VDT as root, you usually want to run "vdt-control --on" to get everything installed and running. If you ever need to shut down the VDT, a good way to do it is to run "vdt-control --off".
Most people do not need the --no-start option. It modifies the operation of --on in the following ways:
For init services: Install into /etc/init.d but do not start service
For xinetd services: Install into /etc/services and /etc/xinetd, but do
not restart xinetd.
vdt-register-service
This is a simple stub that simply calls vdt_log. It was added so that sub slurp could be copied without modification. It should not generally be used.
NOTE: Copied from VDT-Configure-Base/vdt/lib/VDTConfigure.pm revision 8040, 2008-09-17. It is unmodified. (A local stub vdt_install_log has been provided for compatibility.)
Read the whole file into a scalar