# davmac314/dinit

Service monitoring / "init" system

Repository: https://github.com/davmac314/dinit
Canonical: https://ross.abutalabs.com/products/dinit
Language: C++
License: Apache-2.0
License Family: permissive
Topics: init-system, service-manager, service-management, init
Last push: 2026-08-31T12:15:27+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 60, longevity 100
- inputs: {"age_days": 3942, "days_push": 2, "days_rel": 60, "gap_med": 66.0, "n_releases_24m": 9}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1137, forks 74 (observed 2026-09-01T02:14:00.761345+00:00)

## What it is
Dinit is a service supervisor and init system with dependency management, capable of running as a system init (PID 1) or as a per-user service manager. It starts services in parallel, monitors processes, restarts failed services with dependency-aware rollback, and is controlled via the dinitctl tool.

## Use cases
- replace systemd with a lightweight init system on linux
- manage user services without root
- supervise daemons and restart them when they crash
- start services in parallel with dependency ordering
- run a service manager on a minimal or BSD-like system

## When to choose
- you need a portable, dependency-aware init or service supervisor
- you want a lightweight alternative to systemd or runit with dependency support
- you need both system-level and user-level service management from one tool

## When to avoid
- you need systemd's full ecosystem (journald, socket activation, cgroups integration)
- you only need simple process supervision without dependency graphs
- you are on a non-POSIX platform such as Windows

## Facets
- artifact type: application
- maturity: active
- function: monitoring, configuration-management, cli
- domain: operating-systems, self-hosted, developer-tools
- platform: bsd, cpp, cross-platform
- tags: init-system, service-manager, service-supervisor, dependency-management, process-management, devops, linux

## Member repositories
- davmac314/dinit (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:00.761345+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:46.785479+00:00, confidence not recorded.
  - readme: https://github.com/davmac314/dinit (fetched 2026-09-01T02:14:00.761345+00:00, sha 2993eb50362f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
