class Service::Systemd

Included Modules

Defined in:

service/systemd.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Service::InitSystem

boot(value : Bool) : Bool boot, boot? : Bool boot?, boot_file : Path boot_file, check_delete check_delete, config config, creatable? : Bool creatable?, delete delete, exists? : Bool exists?, file : Path file, name : String name, real_file : String real_file, type : String type, writable? : Bool writable?, write_config write_config

Constructor Detail

def self.new(name : String) #

[View source]

Class Method Detail

def self.each(&block : String -> _) #

[View source]
def self.type : String #

[View source]
def self.version #

[View source]

Instance Method Detail

def delete #

[View source]
def reload : Bool #

[View source]
def restart : Bool #

[View source]
def run? : Bool #

[View source]
def start : Bool #

[View source]
def stop : Bool #

[View source]
def write_config #

[View source]