|
|
The system-specific configuration script /etc/saf/_sysconfig customizes the environment for all services on the system. Upon startup, the SAC daemon interprets the system-specific configuration script (using the doconfig library routine). A default _sysconfig containing only a comment line is part of the delivered system.
When writing a system-specific
configuration script, use
the following command:
sacadm -G [-z script]
The -G option by itself prints the system-specific configuration script. In combination with the -z option, it replaces /etc/saf/_sysconfig with the contents of the file script.
The _sysconfig file in the following example of a simple system-specific configuration script sets the time zone variable, TZ:
assign TZ=EST5EDT # set TZ runwait echo SAC is starting > /dev/consoleThe -z option can also be used with the -a option to specify the contents of the port monitor-specific configuration file when a port monitor is created.