Plugins
Plugins are the heart of initng. They can
- add commands for services (*.i files)
- add options to the ngc command
- react to signals like SIGINT, SIGHUP
- control the output of initng
- add states to the list of possible states of a service
... and more :-) They are the heart of !InitNG, the initng binary is (almost) only a loader for plugins and provides the framework for information flow between the modules and internal objects.
There is an old description at http://oldwiki.initng.org/index.php/Plugins. In the future, this and other pages describing the plugins will be automatically created from SVN.
InitNG's plugins
- libalso.so tie services together and start/stop them as a set
- libbash_launcher.so launcher for shell scripts
- libchdir.so change Directories
- libchroot.so change Root Directory
- libconflict.so mark conflicting services
- libcpout.so initng's colorful output
- libcritical.so mark system-critical services
- libctrlaltdel.so handle Ctrl-Alt-Del and SIGINT
- libdaemon.so manage daemons (start, fork, respawn etc)
- libdaemon_clean.so
- libdbus_event.so
- libdebug_commands.so
- libenvparser.so parse shell environment files, e.g. from /etc/default
- libevent.so?
- libfind.so
- libfmon.so?
- libfstat.so wait for existence of files
- libhistory.so store and query initng's action history
- libidleprobe.so wait until CPU is idle
- libinitctl.so main control of initng, e.g. for Halt, Reboot and Runlevels.
- libinteractive.so ask if a service should be started/stopped
- libiparser.so parser for /etc/initng/*/*.i files
- liblast.so
- liblimit.so set resource limits
- liblockfile.so
- liblogfile.so
- libnetdev.so?
- libnetprobe.so
- libngc4.so
- libngcs.so
- libnge.so
- libpause.so
- libprovide.so creates virtual services
- libreload.so
- librenice.so
- librlparser.so? parser for /etc/initng/*.runlevel files
- librunlevel.so
- libselinux.so?
- libservice.so run and manage services
- libservice_file.so?
- libsimplelauncher.so
- libstcmd.so
- libstdout.so
- libsuid.so
- libsyncron.so
- libsyslog.so
- libsysreq.so?
- libunneeded.so
