LSB Service class and other LSB related definitions. More...
#include <limal/runlevel/config.h>#include <limal/runlevel/Service.hpp>#include <limal/runlevel/Runlevel.hpp>#include <blocxx/String.hpp>#include "blocxx/BLOCXX_config.h"#include <features.h>#include <bits/wordsize.h>#include <gnu/stubs-32.h>#include <bits/types.h>#include <stddef.h>#include <time.h>#include "blocxx/ReferenceHelpers.hpp"#include <iosfwd>#include <exception>#include <new>#include <cerrno>#include <string>#include "blocxx/ArrayFwd.hpp"#include <endian.h>#include <bits/sigset.h>#include <bits/pthreadtypes.h>#include "blocxx/SafeBool.hpp"#include "blocxx/Types.hpp"#include "blocxx/Exception.hpp"#include <vector>#include "blocxx/Array.hpp"#include "blocxx/COWReference.hpp"#include <map>#include <functional>Go to the source code of this file.
Classes | |
| class | limal::runlevel::LSBService |
| LSB specific sevice class. More... | |
Namespaces | |
| namespace | limal |
The main LiMaL namespace. | |
| namespace | limal::runlevel |
The LiMaL runlevel library namespace. | |
Typedefs | |
| typedef BLOCXX_NAMESPACE::Int32 | limal::runlevel::LSBExitCode |
| LSB service action exit code type. | |
| typedef BLOCXX_NAMESPACE::Map < BLOCXX_NAMESPACE::String, BLOCXX_NAMESPACE::String > | limal::runlevel::LSBInitInfo |
Variables | |
Common-Codes | |
| const LSBExitCode | limal::runlevel::LSB_RC_SUCCESS = 0 |
| success | |
| const LSBExitCode | limal::runlevel::LSB_RC_FAILURE = 1 |
| generic or unspecified error | |
| const LSBExitCode | limal::runlevel::LSB_RC_INVALID_ARGUMENT = 2 |
| invalid or excess argument(s) | |
| const LSBExitCode | limal::runlevel::LSB_RC_NOT_IMPLEMENTED = 3 |
| unimplemented feature ("reload") | |
| const LSBExitCode | limal::runlevel::LSB_RC_NOT_ALLOWED = 4 |
| user had insufficient privilege | |
| const LSBExitCode | limal::runlevel::LSB_RC_NOT_INSTALLED = 5 |
| program is not installed | |
| const LSBExitCode | limal::runlevel::LSB_RC_NOT_CONFIGURED = 6 |
| program is not configured | |
| const LSBExitCode | limal::runlevel::LSB_RC_NOT_RUNNING = 7 |
| program is not running | |
Status-Codes | |
| const LSBExitCode | limal::runlevel::LSB_ST_RUNNING = 0 |
| program is running or service is OK | |
| const LSBExitCode | limal::runlevel::LSB_ST_DEAD_PID_EXISTS = 1 |
| program is dead and /var/run pid file exists | |
| const LSBExitCode | limal::runlevel::LSB_ST_DEAD_LOCK_EXISTS = 2 |
| program is dead and /var/lock lock file exists | |
| const LSBExitCode | limal::runlevel::LSB_ST_NOT_RUNNING = 3 |
| program is not running | |
| const LSBExitCode | limal::runlevel::LSB_ST_UNKNOWN = 4 |
| program or service status is unknown | |
LSB Service class and other LSB related definitions.
The Linux Standard Base (LSB) specifiation can be found at http://www.linuxbase.org/spec/. This file is based on LSB specification version 2.1.0. Read the section 8.2, "Init-Script Actions" for more details.
1.6.3