Note: This web site is only kept up to date for OSG Software 1.2 (VDT 2.0.0). If you are looking for information for the most recent release, the RPM-based OSG Software 3.0, please see the OSG documentation web site
vdt-control - Enable and disable VDT services
vdt-control [options] [service-name(s)]
--on
--off
--force
--no-start
--non-root
--service-priority
--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.
0 - The script completed with no errors
1 - The script failed to do anything useful. This will be returned for errors such as bad command-line options or failing to load the services information from disk.
2 - The script had one or more problems modifying services, but may have also successfully modified some services. This code can be returned when the --enable, --disable, --on, or --off flags are provided.
3 - The script was unable to start one or more enabled services because the user is not the root user. Currently inetd services cannot be started as non-root. This exit code is superceded by exit code 2 if both errors occur.
vdt-register-service