Kronos-Integration / service-systemd

kronos systemd integration
BSD 2-Clause "Simplified" License
0 stars 0 forks source link
journal service systemd

License GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

@kronos-integration/service-systemd

kronos systemd integration

usage

API

Table of Contents

JournalLogger

Extends ServiceLogger

Forward logs entries to the journal.

FileDescriptor

Type: Object

Properties

SystemdConfig

Extends ServiceConfig

Provides config from CONFIGURATION_DIRECTORY. Also injects listeningFileDescriptors into the config

Properties

listeningFileDescriptors

listeningFileDescriptors as passed in LISTEN_FDS and LISTEN_FDNAMES.

Returns Array<FileDescriptor>

loadConfig

Load config from configuration dir. Additionally pass listeninfFileDescriptions into config.

ServiceSystemd

Extends ServiceProviderMixin(Service, JournalLogger, SystemdConfig)

Kronos bridge to systemd:

endpoints

Definition of the predefined endpoints.

Returns Object predefined endpoints

install

With npm do:

npm install @kronos-integration/service-systemd

license

BSD-2-Clause