service monitoring / "init" system
Project homepage: https://github.com/davmac314/dinit
Description
"Dinit" is a service supervisor with dependency support.
Specifically, Dinit can launch multiple services in parallel, with dependency
management (i.e. if one service's operation depends on another, the latter
service will be started first). It can monitor the process corresponding to a
service, and re-start it if it dies, and it can do this in an intelligent way,
first "rolling back" all dependent services, and restarting them when their
dependencies are satisfied. However, the precise nature of dependency relations
between services is highly configurable.
Package information
- Ports path
- sysutils/dinit
- Package architecture
- amd64
- Maintainer
- Edd Barrett <edd@openbsd.org>
- Categories
- sysutils
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Build
- devel/gmake
- archivers/xz STEM->=5.4.0
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-------------------------------------------------------------------------------
| Running dinit on OpenBSD
+-------------------------------------------------------------------------------
Although dinit can be used to boot a Linux system from scratch, you cannot use
dinit as a replacement for OpenBSD's init system. This package does however
allow you to use dinit as a generic process supervisor on OpenBSD.
Getting Started Guide
=====================
The best way to get up an running quickly with Dinit is to read the getting
started guide:
$ less ${TRUEPREFIX}/share/doc/dinit/getting_started.md
Running System-wide
===================
The provided rc script starts a system-wide instance of dinit. The instance
will run as root so that services requiring root permissions can be managed
under dinit. If your services don't need root permissions, then you should run
dinit as a normal user instead.
When running a system-wide instance, add `-s` to your dinitctl(8) invocations.