Lines Matching refs:service
146 void service_start(struct service *svc, const char *dynamic_args)
153 /* starting a service removes it from the disabled or reset
171 ERROR("service '%s' requires console\n", svc->name);
183 ERROR("service '%s' must be one-shot to use dynamic args, disabling\n",
304 static void service_stop_or_reset(struct service *svc, int how)
315 /* if the service has not yet started, prevent
325 NOTICE("service '%s' is being killed\n", svc->name);
333 void service_reset(struct service *svc)
338 void service_stop(struct service *svc)
349 static void restart_service_if_needed(struct service *svc)
374 struct service *svc;
392 ERROR("no such service '%s'\n", name);
400 struct service *svc = service_find_by_name(name);
405 ERROR("no such service '%s'\n", name);
608 * fire up the property service. This must happen