diff --git a/README.md b/README.md index 31b66a1..03fcdba 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,7 @@ # sessiond-hooks `sessiond-hooks` is a `sessiond` client that launches and supervises a per-user -session hook — an arbitrary service manager or daemon (`dinit --user`, -`runsvdir`, …) started for every login session. What to run is described by a -Dhall config function, so it is not tied to any particular init. - -Run several at once by defining multiple named instances (see below); each is an -independent process applying its own config. +session hook (`dinit --user`, `runsvdir`, …) started for every login session. ## Installation @@ -58,10 +53,6 @@ in } ``` -`package` and `logLevel` are set once globally. Defining an entry under -`services.sessiond-hooks.hooks.` makes it live — there is no separate -`enable` toggle. Add more entries to launch more hooks: - ```nix { services.sessiond-hooks = { @@ -96,7 +87,4 @@ sessiond-hooks --config PATH [--log-target stderr|syslog] ``` For each login session, `sessiond-hooks` applies this function to the session's -context and spawns `init` with `args`. The free-form `args` list means any -service manager works — `dinit --user --services-dir DIR`, `runsvdir DIR`, and so -on. A config may import the vendored Dhall Prelude via `./Prelude/package.dhall` -(placed next to the config); see `dhall/config.example.dhall`. +context and spawns `init` with `args`.