OpenRC

OpenRC is a minimal init system. Distributions using OpenRC include Alpine Linux.

Contents

  1. OpenRC
    1. Usage


Usage

To stop, start, and get the current status of a service, try:

rc-service sshd stop 
rc-service sshd start 
rc-service sshd status 

To start a service automatically at boot and verify that setting, try:

rc-update add sshd default
rc-status

Use the default runlevel for user services. The other runlevels (boot, single, reboot, and shutdown) should be reserved for the operating system.


CategoryRicottone

Linux/OpenRC (last edited 2023-01-08 19:51:50 by DominicRicottone)