Searched refs:restarter (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/scripts/
H A Dlpshut29 state=`svcprop -p restarter/state svc:/application/print/server:default`
H A Dlpsched40 state=`svcprop -p restarter/state svc:/application/print/server:default`
/illumos-gate/usr/src/cmd/svc/common/
H A Dr.manifest89 state=`$SVCPROP -p restarter/state $svcinst`
91 nstate=`$SVCPROP -p restarter/next_state $svcinst`
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypstart.sh34 if [ "`/usr/bin/svcprop -p restarter/state $1`" = "maintenance" ]; then
52 state=`/usr/bin/svcprop -p restarter/state network/nis/server:default`
74 state=`/usr/bin/svcprop -p restarter/state network/nis/client:default`
/illumos-gate/usr/src/cmd/svc/milestone/
H A Ddevices-local37 svcprop -q -p system/reconfigure system/svc/restarter:default
H A DMakefile85 restarter.xml \
H A Dnet-nwam625 nwam_online=`$SVCPROP -t -p restarter/state $NET_NWAM_FMRI`
/illumos-gate/usr/src/cmd/initpkg/
H A DrcS.sh120 svcprop -q -p system/reconfigure system/svc/restarter:default
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dexplain.c129 /* restarter pg properties */
139 const char *restarter; member in struct:__anon1865
470 /* restarter may not set aux_state, allow to continue in that case */
526 instp->restarter = safe_strdup(g_fmri);
528 instp->restarter = SCF_SERVICE_STARTD;
1271 inst_t *restarter; local
1273 r = get_fmri(svcp->restarter, NULL, &restarter);
1274 if (r == 0 && !inst_running(restarter)) {
1275 r = add_causes(svcp, restarter);
[all...]
H A Dsvcs.c39 * a certain restarter (-R), dependencies of instances (-d), and dependents of
105 * For lists of parsed restarter FMRIs.
538 * Get a string property from the restarter property group of the given
661 * Check if instance has general/restarter property that matches
666 check_for_restarter(scf_instance_t *inst, const char *restarter) argument
675 /* Get restarter */
687 if (strcmp(fmri_buf, restarter) == 0)
699 * Checks for a common restarter and if one is available, it generates
704 * If a restarter specific action is available, then restarter_spec
705 * is set to 1. If a restarter specifi
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/svc/
H A Dnfs-server265 restarter=`svcprop -p general/restarter $FMRI 2>/dev/null`
266 if [ "$restarter" = "$INETDFMRI" ]; then
/illumos-gate/usr/src/cmd/svc/startd/
H A DMakefile42 restarter.o \
H A Dlibscf.c570 "restarter states to MAINTENANCE and NONE\n");
813 * get info event property from restarter:default
940 get_restarter(scf_handle_t *h, scf_propertygroup_t *pg, char **restarter) argument
945 libscf_read_single_astring(h, prop, restarter) != 0)
946 *restarter[0] = '\0';
1172 * Since general/restarter can be at the service level, we must do
2521 * equal to LOG_PREFIX_EARLY, then the property restarter/alt_logfile
2522 * of the instance is used; otherwise, restarter/logfile is used.
3595 const char * const startd_svc = "system/svc/restarter";
3600 "svc:/system/svc/restarter
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c97 * 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 i
1889 const char *restarter; local
1954 const char *restarter; local
2857 entity_t *restarter; local
[all...]
H A Dsvccfg_xml.c156 "restarter", /* SC_RESTARTER */
280 if (xmlStrcmp(type, (const xmlChar *)"restarter") == 0)
1397 xmlChar *restarter; local
1403 * contains restarter FMRI.
1419 restarter = xmlGetProp(cursor, (xmlChar *)value_attr);
1422 uu_die(gettext("illegal element \"%s\" on restarter "
1430 restarter);
2873 * template block applies to a restarter.
2876 * template block applies to the master restarter.
2913 * restarter
[all...]
H A Dsvccfg_libscf.c108 xmlNodePtr restarter; member in struct:entity_elts
1597 * Let restarter handles refreshing and making new running
6761 * instance, the manifest may not specify the SCF_PG_RESTARTER (restarter)
6770 * running and it has invoked us, then the service will never get a restarter
6869 warn(gettext("Failed to get restarter property "
6906 "restarter property group of instance %s\n"),
6930 warn(gettext("Failed to get restarter property "
8358 * Verify that the restarter group is preset
9769 rnode = xmlNewNode(NULL, (xmlChar *)"restarter");
9780 selts->restarter
[all...]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh659 system/svc/restarter:default 2>/dev/null`
684 state=`svcprop -p restarter/state \
H A Dipf_include.sh297 while [ "`svcprop -p restarter/next_state $1`" != "$SMF_NONE" ]; do
301 [ "`svcprop -p restarter/state $1`" = "$2" ] && return 0 || return 1
610 restarter=`svcprop -p general/restarter $service 2>/dev/null`
611 if [ "$restarter" = "$INETDFMRI" ]; then
/illumos-gate/usr/src/cmd/ipf/svc/
H A Dipfilter189 # property. The ipfilter manifest cannot include contract/restarter token in
211 ctid=`svcprop -p restarter/contract $SMF_FMRI`
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c801 const char *restarter, *script, *action; local
819 if ((restarter = getenv("SMF_RESTARTER")) == NULL ||
820 strcmp(restarter, SCF_SERVICE_STARTD) != 0)
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsynch.c298 int restarter)
329 * If we are checking a restarter dependency, a bad
332 result = restarter ? B_FALSE : good;
444 * Examines the state and health of an instance's restarter and
474 * First we check our restarter as an implicit dependency.
485 * Normally we would return true and let the restarter
488 * the restarter is invalid.
297 fmri_has_potential(char *fmri, int isfile, int optional, int exclude, int restarter) argument
/illumos-gate/usr/src/cmd/svc/seed/
H A DMakefile65 ../milestone/restarter.xml \
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c970 * The restarter's FMRI does not match an existing instance.
975 * The restarter's FMRI is not a valid FMRI.
982 * restarter property is not SCF_TYPE_ASTRING or has more than one value
988 char *restarter = NULL; local
1013 /* Assume default restarter. */
1030 restarter = _scf_read_single_astring_from_pg(pg,
1032 /* zero length string is NOT a valid restarter */
1033 if (restarter != NULL && restarter[0] == '\0') {
1034 free(restarter);
[all...]
/illumos-gate/usr/src/cmd/avs/dscfg/
H A Ddscfgadm.sh633 state=`svcprop -c -p restarter/state \

Completed in 1961 milliseconds