BTRunit is a lightweight service manager for use on Linux and other UNIX-like operating systems.
Runit was originally written by Gerrit Pape at smarden.org, based on DJB's original daemontools service supervisor. This repo continues where Gerrit left off.
- All code is formatted for safety and clarity.
- Legacy K&R C is converted to ANSI C.
- All type warnings and signed/unsigned warnings are fixed.
- The build system is migrated to GNU Autotools. Yes, this is an improvement. Just ask your local distro packager.
- Folder directories are set at configration time instead of hard-coded. This lets you compile Btrunit with an alternate $sysconfdir, which means you can build it and use it even if you're not root.
- Cross-compilation works. Legacy Runit's build system used a lot of runtime checks during the build process, which prevented any kind of cross-compilation.
If you're installing from a release tarball, just ./configure
, make
,
and make install
. If you're installing from a repo checkout, run
autogen.sh
first.
To build BTRunit from a release tarball, you'll need:
- Make
- A C compiler
- Libc
- That's pretty much it
To build from the repo, you'll also need m4, automake, and autoconf.