class Systemd::Configuration

Attributes

unit_file_path[RW]

Public Class Methods

new() click to toggle source
# File lib/shared_infrastructure/systemd/systemd.rb, line 3
def initialize
  @unit_file_path = "#{Nginx.root}/lib/systemd/system"
end

Public Instance Methods

unit_file(domain_name) click to toggle source
# File lib/shared_infrastructure/systemd/systemd.rb, line 7
def unit_file(domain_name)
  File.join(unit_file_path, domain_name + ".service")
end