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.