|
|
The _sysconfig file in the example sets the timezone variable, TZ.
assign TZ=EST5EDT # set TZ runwait echo SAC is starting > /dev/console
In the hypothetical _config file in the figure, the command /usr/bin/daemon is assumed to start a daemon process that builds and holds together a STREAMS multiplexor. By installing this configuration script, the command can be executed just before starting the port monitor that requires it.
# build a STREAMS multiplexor run /usr/bin/daemon runwait echo $PMTAG is starting > /dev/console
The following per-service configuration script does two things: it specifies the maximum file size for files created by a process by setting the process's ulimit to 4096. It also specifies the protection mask to be applied to files created by the process by setting umask to 077.
runwait ulimit 4096 runwait umask 077