This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
OpenRC¶
OpenRC is a dependency based init system for Unix like systems that maintains compatibility with
the system provided init system, normally located in /sbin/init. OpenRC is maintained by the
Gentoo developers and is developed for Gentoo, but it is designed to be used in other Linux
distributions and BSD systems. By default, OpenRC is invoked by SysVinit.
Reference(s)
- https://github.com/OpenRC/openrc
- https://github.com/OpenRC/openrc/blob/master/service-script-guide.md
- https://github.com/OpenRC/openrc/blob/master/user-guide.md
- https://github.com/OpenRC/openrc/blob/master/supervise-daemon-guide.md
- https://www.linuxtricks.fr/wiki/rosetta-tableau-comparatif-des-commandes-systemd-sysvinit-openrc
- https://wiki.gentoo.org/wiki/OpenRC_to_systemd_Cheatsheet
- https://wiki.gentoo.org/wiki/OpenRC
- https://wiki.archlinux.org/index.php/OpenRC
- https://wiki.gentoo.org/wiki/Comparison_of_init_systems
- https://www.youtube.com/watch?v=sftnVwj8DDg
- https://wiki.gentoo.org/wiki/OpenRC_to_systemd_Cheatsheet
- https://wiki.gentoo.org/wiki/OpenRC/supervise-daemon
Table of contents¶
TODO
Services¶
Basic service related commands¶
-
Start the
service_nameservice: -
Stop the
service_nameservice: -
Restart the
service_nameservice: -
Reload
service_nameconfiguration without stopping theservice_nameservice: -
Check the
service_nameservice status: -
Enable the
service_nameservice on system boot: -
Disable the
service_nameservice on system boot: -
Check if the
service_nameservice is enable or disable on system boot:
Run levels¶
TODO
If this cheat sheet has been useful to you, then please consider leaving a star here.