rc_plugin_hook(3)

rc_plugin_hook3

Hooks plugins into openrc services

Usage

#include <rc.h>

int Fn rc_plugin_hook RC_HOOK hook const char *name

Library

Run Command library (librc, -lrc)

Overview

rc_plugin_hook() is called for each shareable object found in /lib/rc/plugins. hook is set to the hook running, and name is set to the name of the runlevel or name of the service.

Plugins can affect the parent environment by writing NULL separated strings to rc_environ_fd.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9–11
  3. 12–13

Authors

Roy Marples <[email protected]>

From librc-dev 0.56-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.