class SystemD

Overview

Wrapper for libsystemd http://man7.org/linux/man-pages/man3/sd_pid_notify_with_fds.3.html http://man7.org/linux/man-pages/man3/sd_listen_fds_with_names.3.html

Defined in:

systemd.cr

Constant Summary

LISTEN_FDS_START = LibSystemD::SD_LISTEN_FDS_START

Class Method Summary

Class Method Detail

def self.listen_fds #

[View source]
def self.listen_fds_with_names #

[View source]
def self.notify(message = "READY=1\n") #

[View source]
def self.notify_ready #

[View source]
def self.notify_status(status : String) #

[View source]
def self.notify_stopping #

[View source]
def self.remove_fds(fd_name : String) #

[View source]
def self.store_fds(fds : Array(Int32), fd_name : String) #

[View source]
def self.store_fds(fds : Array(Int32)) #

[View source]
def self.watchdog #

[View source]