2018-01-13 01:40:42 +05:30
|
|
|
OpenRC README
|
|
|
|
=============
|
2007-11-19 21:40:33 +05:30
|
|
|
|
2015-04-23 01:24:12 +05:30
|
|
|
OpenRC is a dependency-based init system that works with the
|
2020-04-07 04:44:21 +05:30
|
|
|
system-provided init program, normally `/sbin/init`.
|
2015-04-23 01:24:12 +05:30
|
|
|
|
2021-08-22 23:39:30 +05:30
|
|
|
## building and installing
|
|
|
|
|
|
|
|
OpenRC uses the [meson](http://mesonbuild.com) build system, so use the
|
|
|
|
usual methods for this build system to build and install.
|
|
|
|
|
2015-04-23 01:24:12 +05:30
|
|
|
## Notes
|
2007-11-19 21:40:33 +05:30
|
|
|
|
2008-01-04 20:49:04 +05:30
|
|
|
We don't support building a static OpenRC with PAM.
|
2008-01-04 19:31:24 +05:30
|
|
|
|
2015-04-23 01:24:12 +05:30
|
|
|
`PKG_PREFIX` should be set to where packages install to by default.
|
|
|
|
|
2019-11-17 23:23:48 +05:30
|
|
|
`LOCAL_PREFIX` should be set to where user maintained packages are.
|
2015-04-23 01:24:12 +05:30
|
|
|
Only set `LOCAL_PREFIX` if different from `PKG_PREFIX`.
|
2008-01-03 18:32:03 +05:30
|
|
|
|
2022-04-06 21:21:55 +05:30
|
|
|
`ROOTPREFIX` should be set when the root path is different from '/'.
|
2007-11-19 21:40:33 +05:30
|
|
|
|
2015-04-23 01:24:12 +05:30
|
|
|
`rc` and `rc.shutdown` are the hooks from the BSD init into OpenRC.
|
|
|
|
|
|
|
|
`devd.conf` is modified from FreeBSD to call `/etc/rc.devd` which is a
|
|
|
|
generic hook into OpenRC.
|
|
|
|
|
|
|
|
`inittab` is the same, but for SysVInit as used by most Linux distributions.
|
2008-01-06 02:13:32 +05:30
|
|
|
This can be found in the support folder.
|
2015-04-23 01:24:12 +05:30
|
|
|
|
|
|
|
Obviously, if you're installing this onto a system that does not use
|
|
|
|
OpenRC by default then you may wish to backup the above listed files,
|
|
|
|
remove them and then install so that the OS hooks into OpenRC.
|
|
|
|
|
2021-09-05 00:53:11 +05:30
|
|
|
## Discussions
|
|
|
|
|
|
|
|
We are testing [discussions](https://github.com/OpenRC/openrc/discussions), so
|
|
|
|
feel free to open topics there.
|
|
|
|
|
2015-04-23 01:24:12 +05:30
|
|
|
## Reporting Bugs
|
|
|
|
|
2021-04-04 01:43:09 +05:30
|
|
|
Please report bugs on our [bug tracker](http://github.com/OpenRC/openrc/issues).
|
2015-04-23 01:24:12 +05:30
|
|
|
|
2021-04-04 01:43:09 +05:30
|
|
|
If you can contribute code , please feel free to do so by opening
|
|
|
|
[pull requests](https://github.com/OpenRC/openrc/pulls).
|
2015-04-23 01:24:12 +05:30
|
|
|
|
|
|
|
## IRC Channel
|
|
|
|
|
2021-05-24 03:15:32 +05:30
|
|
|
We have an official irc channel, #openrc on the libera network.
|
|
|
|
Please connect your irc client to irc.libera.chat and join #openrc on
|
|
|
|
that network.
|
|
|
|
|