diff --git a/README.md b/README.md index 74a255e3..d69cfa46 100644 --- a/README.md +++ b/README.md @@ -146,11 +146,11 @@ e.g. init 4, but also using the more advanced `intictl` tool. **Plugins** -Plugins can be used to *extend* the functionality of Finit, *hook into* -different stages of the boot process and at runtime, and act as *pure -extensions*. Plugins are written in C and compiled into a dynamic -library that is loaded automatically by finit at boot. A basic set of -plugins are bundled in the `plugins/` directory. +Plugins can *extend* the functionality of Finit and *hook into* the +different stages of the boot process and at runtime. Plugins are +written in C and compiled into a dynamic library loaded automatically by +finit at boot. A basic set of plugins are bundled in the `plugins/` +directory. Capabilities: diff --git a/conf.c b/conf.c index 85bf6c29..ae7135e3 100644 --- a/conf.c +++ b/conf.c @@ -340,16 +340,13 @@ static void parse_dynamic(char *line, time_t mtime) if (MATCH_CMD(line, "#", x)) return; - /* Monitored daemon, will be respawned on exit, as - * long as the (optional) service callback returns - * non-zero */ + /* Monitored daemon, will be respawned on exit */ if (MATCH_CMD(line, "service ", x)) { service_register(SVC_TYPE_SERVICE, x, mtime, NULL); return; } - /* One-shot task, will not be respawned. Only runs if - * the (optional) service callback returns true */ + /* One-shot task, will not be respawned */ if (MATCH_CMD(line, "task ", x)) { service_register(SVC_TYPE_TASK, x, mtime, NULL); return; diff --git a/service.h b/service.h index 7a3da8fa..7e936403 100644 --- a/service.h +++ b/service.h @@ -34,10 +34,10 @@ int service_enabled (svc_t *svc); void service_reload_dynamic (void); -void service_step(svc_t *svc); -void service_step_all(int types); +void service_step (svc_t *svc); +void service_step_all (int types); -int service_stop_is_done(void); +int service_stop_is_done (void); #endif /* FINIT_SERVICE_H_ */