Lines Matching refs:restarter

97  * instance's restarter.  This information is loaded from the repository
101 * global service and restarter that is declared at the service level. The
103 * service's entity_t point to the information for the global and restarter
107 * restarter. If this is the case, load_instance_restarter() will load the
108 * information for that restarter, and it is saved in the
141 * It then proceeds through the restarter information and finally moves on
453 TL_RESTARTER, /* Templates from restarter manifest. */
460 * service, the instance's restarter and finally the global service. See
1089 * Find the FMRI of the restarter for the entity, e. The restarter is the
1090 * value of the "restarter" property in the "general" property group.
1110 * Didn't find the restarter.
1878 * Load the service's restarter instance and the global instance from the
1889 const char *restarter;
1896 * If e is the global service, we only need to load the restarter.
1904 * Load the templates for the service's restarter.
1906 restarter = find_restarter(svc);
1907 if (restarter == NULL)
1908 restarter = SCF_SERVICE_STARTD;
1909 if ((r = load_instance(restarter, "restarter",
1912 * During initial manifest import, restarter may
1917 warn(gettext("WARNING: restarter FMRI %s is invalid\n"),
1918 restarter);
1921 warn(gettext("WARNING: restarter FMRI %s is not valid; "
1922 "instance fmri required.\n"), restarter);
1945 * Load the instance specific restarter if one is declared.
1954 const char *restarter;
1959 restarter = find_restarter(i);
1960 if (restarter == NULL) {
1961 /* No instance specific restarter */
1964 r = load_instance(restarter, "instance_restarter",
1968 * During initial manifest import, the restarter may not be
1973 warn(gettext("WARNING: restarter FMRI %s is invalid\n"),
1974 restarter);
1977 warn(gettext("WARNING: restarter FMRI %s is not valid; "
1978 "instance fmri required.\n"), restarter);
2218 * then step through the property groups of the instance's restarter and
2319 /* Use service restarter */
2323 /* Use instance restarter */
2764 * restarter serivce for inst or it is the global service. tree contains
2809 * be a restarter, the pg_pattern could have a
2851 * restarter or in the global service. TVS_WARN is returned if a
2857 entity_t *restarter;
2862 restarter = inst->sc_u.sc_instance.sc_instance_restarter;
2863 if (restarter == NULL) {
2864 /* No instance restarter. Use the service restarter */
2865 restarter = svc->sc_u.sc_service.sc_restarter;
2867 rc = tmpl_scan_general(restarter, tree, TL_RESTARTER, errs);
2884 * (e.g. restarter or all) are strongly discouraged.
2921 * restarter and global services.