Dinit is designed to work on POSIXy operating systems such as Linux and OpenBSD. It is written in C++ and uses the Dasynq event handling library, which was written especially to support Dinit.
Source code:
Support files for launching dinit from /etc/rc.d/ on FreeBSD
To install dinit on FreeBSD, run the following commands as root:
Dinit runs three times faster on Linux than systemd, and arguably faster on FreeBSD.
View: https://www.youtube.com/watch?v=lhBvXRsxT7s
Full documentation for Dinit is available in the form of manual (man) pages:
Source code:
GitHub - davmac314/dinit: Service monitoring / "init" system
Service monitoring / "init" system. Contribute to davmac314/dinit development by creating an account on GitHub.
github.com
Support files for launching dinit from /etc/rc.d/ on FreeBSD
To install dinit on FreeBSD, run the following commands as root:
Bash:
# (Optional) Install build dependencies
pkg install -y meson rsync
# Build dinit with correct path
pushd ../..
meson setup -Ddinit-control-socket-path=/var/run/dinitctl build2
cd build2
ninja install
popd
# Install dinit as rc.d service
rsync -r tree/ /
mkdir -p /etc/dinit.d/boot.d
# enable dinit (to start on next boot)
/etc/rc.d/dinit enable
# start dinit now
/etc/rc.d/dinit start
Dinit runs three times faster on Linux than systemd, and arguably faster on FreeBSD.
Full documentation for Dinit is available in the form of manual (man) pages:
- dinit(8) - the dinit daemon
- dinit-service(5) -service description format and service settings
- dinitctl(8) - dinitctl, autility to control the dinit daemon and manage services
- dinitcheck(8) - dinitcheck,a utility to check service descriptions for errors/lint
- dinit-monitor(8) -dinit-monitor, a utility to monitor a service and run a command when service state changes