Sun Cluster 3.0 12/01 Data Services Developer's Guide

Validating the Service Before Starting

Before it attempts to start the X Font Server, the xfnts_start method calls svc_validate to verify that a proper configuration is in place to support the xfs daemon (see "The xfnts_validate Method" for details), as follows.


Example 7-3

	rc = svc_validate(scds_handle);
	if (rc != 0) {
		scds_syslog(LOG_ERR,
		    "Failed to validate configuration.");
		return (rc);
	}