RC_PLUGIN_HOOK

Section: C Library Functions (3)
Updated: SMM
Page Index

BSD mandoc
OpenRC  

NAME

rc_plugin_hook - hooks plugins into OpenRC services  

LIBRARY

Run Command library (librc, -lrc)  

SYNOPSIS

In rc.h Ft int Fn rc_plugin_hook RC_HOOK hook const char *name  

DESCRIPTION

Fn rc_plugin_hook is called for each shareable object found in /lib/rc/plugins Fa hook is set to the hook running, and Fa 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  

SEE ALSO

openrc(8), openrc-run8  

AUTHORS

An Roy Marples <roy@marples.name>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHORS