Home | History | Annotate | Download | only in init

Lines Matching full:service

154 void service_start(struct service *svc, const char *dynamic_args)
163 /* starting a service removes it from the disabled or reset
181 ERROR("service '%s' requires console\n", svc->name);
193 ERROR("service '%s' must be one-shot to use dynamic args, disabling\n",
209 INFO("computing context for service '%s'\n", svc->args[0]);
363 static void service_stop_or_reset(struct service *svc, int how)
365 /* The service is still SVC_RUNNING until its process exits, but if it has
373 /* if the service has not yet started, prevent
383 NOTICE("service '%s' is being killed\n", svc->name);
391 void service_reset(struct service *svc)
396 void service_stop(struct service *svc)
401 void service_restart(struct service *svc)
404 /* Stop, wait, then start the service. */
407 /* Just start the service since it's not running. */
409 } /* else: Service is restarting anyways. */
418 static void restart_service_if_needed(struct service *svc)
443 struct service *svc = NULL;
463 ERROR("no such service '%s'\n", name);
471 struct service *svc = service_find_by_name(name);
476 ERROR("no such service '%s'\n", name);
482 struct service *svc = service_find_by_name(name);
487 ERROR("no such service '%s'\n", name);
792 * fire up the property service. This must happen