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?, exists? : Bool exists?, file : Path file, name : String name, real_file : String real_file, type : String type, writable? : Bool writable?

Constructor Detail

def self.new(name : String) #

[View source]

Class Method Detail

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

[View source]
def self.type : String #

[View source]
def self.version #

[View source]

Instance Method Detail

def config_build(io : IO) #

[View source]
def delete : Bool #

[View source]
def link(service_file : String) #

[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]