Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRunlevel = "default"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status string
func StatusFromExitCode ¶
StatusFromExitCode returns the Status of an OpenRC service from the exit code returned from an OpenRC service script `rc-service [name] status`. Reference: https://github.com/OpenRC/openrc/blob/63db2d99e730547339d1bdd28e8437999c380cae/sh/openrc-run.sh.in#L125
Click to show internal directories.
Click to hide internal directories.