|
|
Configuration scripts for individual services are command scripts written in the interpreted language described on the doconfig(3iac) manual page and in ``The configuration language''. They allow you to modify the environment in which a service is executed. For example, the values of environment variables may be changed, STREAMS modules may be specified, or commands may be run.
Service-specific configuration scripts are interpreted by the port monitor before the service is invoked.
Service-specific configuration scripts may be printed by any user on the system. Only a system administrator may install or replace them.
The following service-specific configuration script sets the maximum file size for files created by a process (ulimit) to 4096, and specifies the protection mask (umask) to be applied to files created by the process to 077:
runwait ulimit 4096 runwait umask 077