3.3

Table Of Contents
Adding System Services
31
The general format for a network resource configuration line is:
resource <device #> <resource name> <device name>
For instance, our new network resource configuration line would look like this:
resource 220 net - ; net connect
4. Add the service to the service table in the database.
Each service installed in your system is defined on a separate line in your system’s
service table, which is the first story in SYSTEM.SERVICE. Each service defined in the
service table consists of a few parameters that determine how the service behaves. It
does not matter where in the service table you add the new line.
A service line has six parameters in this general format:
<service> <host> <dialog> <resource> <group> <command>
The following table contains information on service line formats:
Parameter Description
device # Identifies resource’s device number.
resource name Name you want to give to the resource. Network resources can share the
same name; services choose the first available resource of the correct kind.
In the following example, we call the resource net.
device name Resource’s device name. If you do not want to give it a name, put a hyphen
in this position.
Parameter Definition
service Name you want the service to have.
host Name of the server where you want the service to look for its resource. List
the target server’s name in your system’s /etc/hosts file.
A hyphen in this position will force the service to search each server until it
finds one that has a resource it can use.
dialog If you want the service to use a dialog, put the dialog name in this position of
the service line. Otherwise, fill this position with a hyphen.
resource Name of the resource you want the service to use.
group You can restrict who can use the service by specifying a user group. If you do
not want to restrict access, place a hyphen in this position.