%file configure: can be set.

master
Luka Vandervelden 2019-11-16 21:41:12 +01:00
parent 1ec624db41
commit ab9a76326e
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ class ServiceDefinition
@file_path = section.options[0] @file_path = section.options[0]
@name = section.content["name"]?.try(&.as_s) || @file_path @name = section.content["name"]?.try(&.as_s) || @file_path
@configuration = section.content["configuration"]?
.try(&.as_s)
.==("true")
@creation_command = section.content["creation-command"]? @creation_command = section.content["creation-command"]?
.try &.as_s .try &.as_s
@deletion_command = section.content["deletion-command"]? @deletion_command = section.content["deletion-command"]?