kronos systemd integration
npm install @kronos-integration/service-systemd








kronos systemd integration
* sync node state to systemd with notify (done)
* propagate config into kronos (done)
* propagate socket activations into kronos (partly)
* start / stop / restart / reload initiated from systemd (partly)
* log into journal (done)
* JournalLogger
* logEntry
* Parameters
* FileDescriptor
* Properties
* credentialsDirectory
* SystemdConfig
* Properties
* listeningFileDescriptors
* loadConfig
* ServiceSystemd
* Parameters
* registerService
* Parameters
* getCredential
* Parameters
* getCredentials
* Parameters
* endpoints
Extends ServiceLogger
Forward logs entries to the journal.
Pass to systemd journal.
#### Parameters
* entry Object
Type: Object
Type: string
Extends ServiceConfig
Provides config from CONFIGURATION\_DIRECTORY.
Also injects listeningFileDescriptors into the config
* configurationDirectory string taken from CONFIGURATION\_DIRECTORY
listeningFileDescriptors as passed in LISTEN\_FDS and LISTEN\_FDNAMES.
Returns Array<FileDescriptor>
Load config from configuration dir.
Additionally pass listeninfFileDescriptions into config.
Extends ServiceProviderMixin(Service, JournalLogger, SystemdConfig)
Kronos bridge to systemd:
* sync node state to systemd with notify
* propagate config into kronos world
* propagate socket activations into kronos (partly)
* start / stop / restart / reload initiated from systemd
* log into journal
* config (optional, default {})
* ic
When in debug mode; every sevice gets the logLevel of the service provider.
#### Parameters
* service Service
Deliver credential as provided by systemd.
#### Parameters
* key string
* options Object?
Returns Promise<(Uint8Array | string)>
Deliver credentials as provided by systemd.
#### Parameters
* keys Array<string>
* options Object?
Returns Promise<Array<(Uint8Array | string)>>
Definition of the predefined endpoints.
info in*
Returns Object predefined endpoints
With npm do:
``shell``
npm install @kronos-integration/service-systemd
BSD-2-Clause