Autostart Directory
With the command vovautostart, on vovserver startup, scripts can be specified to execute automatically.
- Create a directory named autostart in the server working directory.
- For both UNIX and Windows:
- Create a script with the suffix .tcl in the autostart directory.
- For UNIX only, CSH scripts are also supported:
- Create a script with the suffix .csh in the autostart directory.
- Ensure the script has the appropriate executable permissions.
Each script in the autostart directory is called with one argument, which is the word start. This argument is usually ignored in OEM scripts, but can be used to in custom scripts to enforce different behaviors between a manual call on the CLI versus an automated call by the vovserver.
Examples are available in the directory $VOVDIR/etc/autostart.
vovautostart
The scripts are launched by the utility vovautostart. To repeat the execution of the autostart scripts, vovautostart can be executed from the command line.
vovautostart: Usage Message
DESCRIPTION:
Execute the scripts in the *.swd/autostart directory.
There are two types of scripts that get executed:
1. Scripts that match *.csh are executed directly (Unix only)
2. Scripts that match *.tcl are executed by vovsh.
The scripts are executed in alphabetical order in the background, with a 5s
delay between successive scripts.
This utility is normally invoked by vovserver upon launching.
USAGE:
% vovautostart [optional directory spec]
EXAMPLES:
% vovautostart