2
0

README 524 B

123456789101112131415161718192021222324
  1. Support files for launching dinit from /etc/rc.d/ on FreeBSD
  2. To install dinit on FreeBSD, run the following commands as root:
  3. ```
  4. # (Optional) Install build dependencies
  5. pkg install -y meson rsync
  6. # Build dinit with correct path
  7. pushd ../..
  8. meson setup -Ddinit-control-socket-path=/var/run/dinitctl build2
  9. cd build2
  10. ninja install
  11. popd
  12. # Install dinit as rc.d service
  13. rsync -r tree/ /
  14. mkdir -p /etc/dinit.d/boot.d
  15. # enable dinit (to start on next boot)
  16. /etc/rc.d/dinit enable
  17. # start dinit now
  18. /etc/rc.d/dinit start
  19. ```